| поискавой системы для электроныых деталей |
|
M16C/1N датащи(PDF) 75 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
M16C/1N датащи(HTML) 75 Page - Renesas Technology Corp |
|
75 / 238 page ![]() Rev.1.00 Oct 20, 2004 page 63 of 222 M16C/1N Group 10. Interrupt REJ09B0007-0100Z 10.4 TCIN Interrupt A TCIN interrupt is generated from edges of a TCIN input signal or after 256 divisions of fRING. To use TCIN input signal, set the time measurement input source switching bit (bit 7 at address 009A16) of timer C control register 0 to "0" (TCIN). The level of input to TCIN pin is sampled by one of three sampling clocks, f1, f8 or f32, selected with the digital filter clock select bit (bits 0 and 1 at address 009B16). The input level is determined when the sampled input level matches three times. (However, if the port P33 is read, the value will be the unfiltered value.) The edge polarity of an interrupt can be a rising edge, a falling edge, or both edges using the time measurement edge trigger select bits (bits 3 and 4 at address 009A16). When triggered after 256 divisions of fRING, set the time measurement input source switching bit (bit 7 at address 009A16) to "1" (fRING256). Figure 10.13 shows the timer C control registers 0 and 1. Figure 10.13 Timer C control registers 0 and 1 Note 1: Change this bit when time measurement is disabled. Note 2: Set the ring oscillation stop bit (CM14) to "0" before setting this bit to "1". Note 3: Inhibit an interrupt when changing the time measurement input source switching bit. The TCIN interrupt may be generated after changing the time measurement input source switching bit. An interrupt should be enabled after the interrupt request bit is cleared. b7 b6 b5 b4 b3 b2 b1 b0 Timer C control register 0 TCC00 Time measurement control bit 0 : Time measurement disabled 1 : Time measurement enabled TCC07 Time measurement input source switching bit (Note 1 to 3) 0 : TCIN 1 : fRING256 TCC01 Timer C clock select bit (Note 1) TCC02 Symbol TCC0 Address 009A16 When reset 0XX000002 Function Bit name Bit symbol RW RW RW RW RW RW RW 0 0 : f1 0 1 : f8 1 0 : f32 1 1 : Inhibited b2 b1 TCC03 Nothing is assigned. When write, set "0". When read, their contents are "0". Nothing is assigned. When write, set "0". When read, their contents are "0". b7 b6 b5 b4 b3 b2 b1 b0 Timer C control register 1 TCC10 Digital filter clock select bit (Note 1) TCC11 Symbol TCC1 Address 009B16 When reset XXXXXX112 Function Bit name Bit symbol RW RW RW 0 0 : Inhibited 0 1 : f1 1 0 : f8 1 1 : f32 b1 b0 Time measurement input edge trigger bit (Note 1) TCC04 0 0 : Rising edge 0 1 : Falling edge 1 0 : Both edges 1 1 : Inhibited b4 b3 Note 1: Input edge becomes active when the same value from TCIN pin is sampled three times in succession. |
|
ссылки 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 |