RPOR15bits.RP30R = 1; meaning

(instructions, reset, WDT, specifications...) PIC17Cxx, PIC18Fxxx

RPOR15bits.RP30R = 1; meaning

Postby Manoj » Fri Aug 24, 2018 11:52 am

I am using pic24fj256gb110.
as I was aiming to use pwm for the first time using this mcu.
I got confused here.
RPOR15bits.RP30R = 1;// used to select the out put pin .But I can not figure out what '1' defines here.
I went htrough the datasheetand noticed 'RPOR15' & 'RP30R' are there.still dont under stand what is 1 for.
please kindly help me.
Last edited by ric on Fri Aug 24, 2018 1:10 pm, edited 1 time in total.
Reason: Moved topic from "Suggestions" to "16-Bit Core"
Manoj
 
Posts: 21
Joined: Mon Apr 09, 2018 8:01 am

Re: RPOR15bits.RP30R = 1; meaning

Postby ric » Fri Aug 24, 2018 1:16 pm

PIC24FJ256GB110 datasheet, page 138, table "TABLE 10-3: SELECTABLE OUTPUT SOURCES (MAPS FUNCTION TO OUTPUT)"
As I read that table, "1" will assign C1OUT to that pin.
Latest test project, an LED matrix display made from one reel of addressable LEDs. here
User avatar
ric
Verified identity
 
Posts: 433
Joined: Sat May 24, 2014 2:35 pm
Location: Melbourne, Australia
PIC experience: Professional 5+ years with MCHP products


Return to 16-Bit Core

Who is online

Users browsing this forum: No registered users and 0 guests

cron