Datasheet
Section 11 Timer B1 
    Rev.5.00 Nov. 02, 2005 Page 157 of 500 
   REJ09B0027-0500 
11.4.3  Event Counter Operation 
Timer B1 can operate as an event counter in which TMIB1 is set to an event input pin. External 
event counting is selected by setting bits TMB12 to TMB10 in TMB1 to 1. TCB1 counts up at 
rising or falling edge of an external event signal input at pin TMB1. 
When timer B1 is used to count external event input, bit IRQ1 in PMR1 should be set to 1 and 
IEN1 in IENR1 should be cleared to 0 to disable IRQ1 interrupt requests. 
11.5  Timer B1 Operating Modes 
Table 11.2 shows the timer B1 operating modes. 
Table 11.2  Timer B1 Operating Modes 
Operating Mode  Reset  Active  Sleep Subactive Subsleep Standby 
Interval Reset Functions Functions Halted  Halted  Halted TCB1 
Auto-reload Reset  Functions Functions Halted  Halted Halted 
TMB1  Reset  Functions Retained Retained Retained Retained 










