Datasheet

Rev. 3.00, 03/04, page 197 of 830
8.4.3 Pin Functions
The relationship between register setting values and pin functions are as follows.
P47/IRQ7/TMOY
The pin function is switched as shown below according to the combination of the OS3 to OS0
bits in TCSR of TMR_Y and the P47DDR bit.
When the ISS7 bit in ISSR is cleared to 0 and the IRQ7E bit in IER of the interrupt controller
is set to 1, this pin can be used as the IRQ7 input pin. To use this pin as the IRQ7 input pin,
clear the P47DDR bit to 0.
OS3 to OS0 All 0 One bit is set as 1
P47DDR 0 1
P47 input pin Pin function
IRQ7 input pin
P47 output pin TMOY output pin
P46/IRQ6/TMOX
The pin function is switched as shown below according to the combination of the OS3 to OS0
bits in TCSR of TMR_X and the P46DDR bit.
When the ISS6 bit in ISSR is cleared to 0 and the IRQ6E bit in IER of the interrupt controller
is set to 1, this pin can be used as the IRQ6 input pin. To use this pin as the IRQ6 input pin,
clear the P46DDR bit to 0.
OS3 to OS0 All 0 One bit is set as 1
P46DDR 0 1
P46 input pin Pin function
IRQ6 input pin
P46 output pin TMOX output pin