nikhilrajg
Member level 3
- Joined
- Mar 2, 2012
- Messages
- 63
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Location
- Manipal,Karnataka,India
- Activity points
- 1,834
Hello everyone,
Can anyone explain how the ADC pin of the PIC24FJ256GB106 can be mapped ?
What registers and bits should be set to do this ?
I saw the datasheet of this MCU and got confused. Is it the same way that we map other port pins ?
I know that a port can be mapped by setting its direction register and by setting input or output port or a LATCH (LATbits) can also be used...
But how to map a ADC analog pin ? Which and all registers will be associated with it ? How does it work ?
Please help.
Thanks in advance.
Nikhil Raj.
Can anyone explain how the ADC pin of the PIC24FJ256GB106 can be mapped ?
What registers and bits should be set to do this ?
I saw the datasheet of this MCU and got confused. Is it the same way that we map other port pins ?
I know that a port can be mapped by setting its direction register and by setting input or output port or a LATCH (LATbits) can also be used...
But how to map a ADC analog pin ? Which and all registers will be associated with it ? How does it work ?
Please help.
Thanks in advance.
Nikhil Raj.