Ref. manual of XMC 4800: Where to find link between pin (e.g. LED1 - P5.9) and IOCR?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
GoKl_4594211
Employee
Employee
Where in the reference manual to the XMC 4800, I can find the link between the pin (LED1 - P5.9 for example) and the IOCR register I have to use in order to configure the pin.

Any help?
0 Likes
1 Reply
chismo
Employee
Employee
First like received
Hello,

You can refer to page 2787 of the RM for the description on IOCR registers.
Register Pn_IOCR0 controls the Pn.[3:0] port lines
Register Pn_IOCR4 controls the Pn.[7:4] port lines
Register Pn_IOCR8 controls the Pn.[11:8] port lines
Register Pn_IOCR12 controls the Pn.[15:12] port lines


P5.9 is therefore controlled by P5_IOCR8 register.
This register contains the PCx fields for P5.8, P5.9, P5.10 and P5.11 (assuming all these pins are available).

Regards,
Min Wei
0 Likes