| Electronic Components Datasheet Search |
|
R8C13 Datasheet(PDF) 82 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
R8C13 Datasheet(HTML) 82 Page - Renesas Technology Corp |
|
82 / 224 page ![]() Rev.1.20 Jan 27, 2006 page 71 of 205 REJ09B0111-0120 R8C/13 Group TXCK1 to TXCK0 =002 f1 f8 f32 f2 Toggle flip-flop Polarity switching Q Q CK TXOCNT bit CNTR0 R0EDG=0 CLR TXMOD1 to TXMOD0 bits=012 Counter Reload register Counter Reload register TXS bit PREX register TX register Write to TX register Timer X interrupt Data bus INT1 interrupt INT1/CNTR0 R0EDG =1 TXMOD1 to TXMOD0 bits=012 =012 =102 =112 TXMOD1 to TXMOD0 =002 or 012 =102 =112 Figure 12.1 Timer X Block Diagram Timer X mode register Symbol Address After reset TXMR 008B16 0016 Bit name Function Bit symbol RW b7 b6 b5 b4 b3 b2 b1 b0 0 0 : Timer mode or pulse period measurement mode 0 1 : Pulse output mode 1 0 : Event counter mode 1 1 : Pulse width measurement mode b1 b0 TXMOD2 TXS TXMOD1 R0EDG TXMOD0 TXOCNT INT1/CNTR0 polarity switching bit(1) Operation mode select bit 0, 1 Timer X count start flag 0 : Stops counting 1 : Starts counting P30/CNTR0 select bit Operation mode select bit 2 0 : Except in pulse period measurement mode 1 : Pulse period measurement mode Function varies with each operation mode TXEDG TXUND Timer X under flow flag Function varies depending on each operation mode. Active edge reception flag Function varies depending on each operation mode. RW RW RW RW RW RW RW RW Function varies with each operation mode NOTES: 1. The IR bit in the INT1IC register may be set to “1” (interrupt requested) when the R0EDG bit is rewritten. Refer to the paragraph 19.2.5 “Changing Interrupt Factor” in the Usage Notes Reference Book. Figure 12.2 TXMR Register 12.1 Timer X The Timer X is an 8-bit timer with an 8-bit prescaler. Figure 12.1 shows the block diagram of Timer X. Figures 12.2 and 12.3 show the Timer X-related registers. The Timer X has five operation modes listed as follows: • Timer mode: The timer counts an internal count source . • Pulse output mode: The timer counts an internal count source and outputs the pulses whose polarity is inverted at the timer the timer underflows. • Event counter mode: The timer counts external pulses. • Pulse width measurement mode: The timer measures an external pulse's pulse width. • Pulse period measurement mode:The timer measures an external pulse's period. 12.1 Timer (Timer X) |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |