Download Print this page

Renesas M16C/50 Series User Manual page 17

Advertisement

18.2.13
Waveform Output Master Enable Register (G1OER) ...................................................... 362
18.2.14
Timer S I/O Control Register 0 (G1IOR0) ........................................................................ 363
18.2.15
Timer S I/O Control Register 1 (G1IOR1) ........................................................................ 364
18.2.16
Interrupt Request Register (G1IR) ................................................................................... 365
18.2.17
Interrupt Enable Register 0 (G1IE0) ................................................................................ 366
18.2.18
Interrupt Enable Register 1 (G1IE1) ................................................................................ 367
18.3
Operations ................................................................................................................................ 368
18.3.1
Base Timer ...................................................................................................................... 368
18.3.2
Time Measurement Function ........................................................................................... 376
18.3.3
Waveform Generation Function ....................................................................................... 380
18.3.4
I/O Port Select Function .................................................................................................. 392
18.4
Interrupts................................................................................................................................... 393
18.4.1
IC/OC Base Timer Interrupt ............................................................................................. 394
18.4.2
IC/OC Channel 0 Interrupt to IC/OC Channel 3 Interrupt ................................................ 394
18.4.3
IC/OC Interrupt 0 and IC/OC Interrupt 1 .......................................................................... 394
18.5
Notes on Timer S...................................................................................................................... 395
18.5.1
Register Access ............................................................................................................... 395
18.5.2
Changing the G1IR Register ........................................................................................... 395
18.5.3
Changing Registers ICOCiIC (i = 0, 1) ............................................................................ 397
18.5.4
Output Waveform During the Base Timer Reset with the BTS bit ................................... 397
18.5.5
OUTC1_0 Pin Output During the Base Timer Reset with the G1PO0 register ................ 397
18.5.6
Interrupt Request When Selecting Time Measurement Function .................................... 397
19. Task Monitor Timer ............................................................................... 398
19.1
Introduction ............................................................................................................................... 398
19.2
Registers................................................................................................................................... 399
19.2.1
Task Monitor Timer Register (TMOS) .............................................................................. 399
19.2.2
Task Monitor Timer Count Start Flag (TMOSSR) ............................................................ 399
19.2.3
Task Monitor Timer Count Source Select Register (TMOSCS) ....................................... 400
19.2.4
Task Monitor Timer Protect Register (TMOSPR) ............................................................. 400
19.3
Operation .................................................................................................................................. 401
19.4
Interrupt .................................................................................................................................... 402
19.5
Notes on Task Monitor Timer .................................................................................................... 403
19.5.1
Register Settings ............................................................................................................. 403
19.5.2
Reading the Timer ........................................................................................................... 403
20. Real-Time Clock ................................................................................... 404
20.1
Introduction ............................................................................................................................... 404
20.2
Registers................................................................................................................................... 406
20.2.1
Real-Time Clock Second Data Register (RTCSEC) ........................................................ 407
20.2.2
Real-Time Clock Minute Data Register (RTCMIN) .......................................................... 408
A- 10

Advertisement

loading