| поискавой системы для электроныых деталей |
|
M16C/1N датащи(PDF) 87 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
M16C/1N датащи(HTML) 87 Page - Renesas Technology Corp |
|
87 / 238 page ![]() Rev.1.00 Oct 20, 2004 page 75 of 222 M16C/1N Group 12. Timers REJ09B0007-0100Z Item Specification Count source f1, f8, f32, fC32 Count operation • Down count • When the timer underflows, it reloads the reload register contents before continuing counting Divide ratio n: Set value of Prescaler X, m: Set value of Timer X Count start condition Count start flag is set (=1) Count stop condition Count start flag is reset (=0) Interrupt request generation timing When Timer X underflows [Timer X interruption] CNTR0 pin function Programmable I/O port or CNTR0 interrupt input pin TXOUT pin function Programmable I/O port Read from timer Count value can be read out by reading Timer X register. Same applies to Prescaler X register. Write to timer When a value is written to Timer X register, it is written to both reload register and counter. Same applies to Prescaler X register. Table 12.3 Specifications of timer mode b7 b6 b5 b4 b3 b2 b1 b0 Timer X mode register TXMOD0 TXMOD1 Operation mode select bit 0, 1 (Note 1) R0EDG CNTR0 polarity switching bit (Note 1) TXS Timer X count start flag P30/TXOUT select bit Operation mode select bit 2 0 : Stops counting 1 : Starts counting 0 : Rising edge 1 : Falling edge TXOCNT 0 : In timer mode, set to "0" TXMOD2 0 : In timer mode, set to "0" TXEDG Effectual edge reception flag TXUND Timer X under flow flag Invalid in timer mode. When write, set "0". When read, this contents is indeterminate. Invalid in timer mode. When write, set "0". When read, this contents is indeterminate. Symbol TXMR Address 008B16 When reset 0016 RW RW RW RW RW RW RW RW RW Function Bit name Bit symbol b1 b0 00 00 0 0 : Timer mode Note 1: This bit should rewrite with inhibiting the CNTR0 interrupt. When using the interrupt, the interrupt must be enabled after clearing the CNTR0 interrupt request bit to "0" using a MOV instruction. 1 (n+1) X (m+1) Figure 12.6 Timer X mode register in timer mode 12.2.1 Timer Mode In this mode, the timer counts an internally generated count source. (See Table 12.3) Figure 12.6 shows the Timer X mode register in timer mode. |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |