EasyManua.ls Logo

Renesas RL78 - TAU0 Channel 1 Operation Stop Function

Renesas RL78
88 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RL78/G11 UART Reception in STOP Mode Using Middle-speed On-chip Oscillator IAR
R01AN3634EJ0100 Rev.1.00 Page 75 of 85
Feb. 15, 2017
5.9.16 TAU0 channel 1 operation stop function
Figure5.21 shows the flowchart for the TAU0 channel 1 operation stop function.
R_TAU0_Channel1_Stop
return
Clear TAU0 channel 1 interrupt request
flag
Stop TAU0 channel 1 operation
Disable TAU0 channel 1 interrupt
TT0 register
TT01 bit 1 : Operation stopped (stop trigger generated)
TOE0 register
TOE01 bit 0 : Timer output disabled
MK1L register
TMMK01 bit 1 : Interrupt processing disabled
IF1L register
TMIF01 bit 0 : Interrupt request signal not generated
Figure 5.21 TAU0 Channel 1 Operation Stop Function
Symbol: TT0
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 0 0 TTH
03
0 TTH
01
0 0 0 0 0 TT0
3
TT0
2
TT0
1
TT0
0
x x x x x x x x x x x x x x 1 x
Bit 1
TT
01
Operation stop trigger for channel n
0 Clears TEmn bit to 0 and goes to count operation stop state.
1 Operation stops (stop trigger generated)
Timer channel stop register 0 (TT0)
Set to TAU0 operation stop.
TAU0 Channel 1 O
p
eration Sto
p

Related product manuals