English
Language : 

7733 Datasheet, PDF (123/940 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER
TIMER A
6.3 Timer mode
Continued from
“Initial setting example for registers related to timer mode (1)”
on the preceding page
Setting of the interrupt priority level
b7
b0 Timer Ai interrupt control register
(addresses 7516 to 7916)
Interrupt priority level selection bits
When using interrupts, one of levels 1 to 7 must be set.
When disabling interrupts, level 0 must be set.
Setting of the port P5 and port P6 direction registers
b7
b0
Port P5 direction register (address D16)
Pin TA0IN
Pin TA1IN
Pin TA2IN
Pin TA3IN
b7
b0
Port P6 direction register (address 1016)
Pin TA4IN
When the gate function is selected, set the bit corresponding to pin TAiIN to “0.”
Setting of the count start flag to “1.”
b7
b0
Count start flag (address 4016)
Timer A0 count start flag
Timer A1 count start flag
Timer A2 count start flag
Timer A3 count start flag
Timer A4 count start flag
Counting is started.
Fig. 6.3.3 Initial setting example for registers related to timer mode (2)
6–12
7733 Group User’s Manual