| Electronic Components Datasheet Search |
|
R8C/15 Datasheet(PDF) 84 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
R8C/15 Datasheet(HTML) 84 Page - Renesas Technology Corp |
|
84 / 277 page ![]() R8C/14 Group, R8C/15 Group 11. Interrupt Rev.2.10 Jan 19, 2006 Page 72 of 253 REJ09B0164-0210 11.2.4 INT3 Interrupt The INT3 interrupt is generated by the INT3 input. Set the TCC07 bit in the TCC0 register to “0” (INT3). When the TCC06 bit in the TCC0 register is set to “0”, the INT3 interrupt request is generated synchronizing with the count source of timer C. When the TCC06 bit is set to “1”, the INT3 interrupt request is generated when the INT3 is input. The INT3 input contains a digital filter. The IR bit in the INT3IC register is set to “1” (interrupt requested) when the INT3 level is sampled for every sampling clock and the sampled input level matches three times. The sampling clock is selected by the TCC11 to TCC10 bits in the TCC1 register. When selecting “Filter”, the interrupt request is generated synchronizing with the sampling clock even if the TCC06 bit is set to “1”. The P3_3 bit in the P3 register indicates the previous value before filtering regardless of the contents set in the TCC11 to TCC10 bits. The INT3 pin is used with the TCIN pin. When setting the TCC07 bit to “1” (fRING128), the INT3 interrupt is generated by the fRING128 clock. The IR bit in the INT3IC register is set to “1” (interrupt requested) every fRING128 clock cycle or every half fRING128 clock cycle. Figure 11.15 shows the TCC0 Register and Figure 11.16 shows the TCC1 Register. Figure 11.15 TCC0 Register Timer C Control Register 0 Symbol Address After Reset TCC0 009Ah 00h Bit Symbol Bit Name Function RW INT3 _____ Interrupt and Capture Polarity Select Bit(1,2) Set to “0” INT3 _____ Interrupt Request Generation 0 : INT3 _____ Interrupt is generated Timing Select Bit(2,3) synchronizing w ith Timer C count 1 : INT3 _____ Interrupt is generated w hen INT3 _____ interrupt is input(4) INT3 _____ Interrupt and Capture Input 0 : INT3 _____ Sw itch Bit(1,2) 1 : fRING128 NOTES : 1. 2. 3. 4. When the TCC13 bit is set to “1” (output compare mode) and INT3 _____ interrupt is input, regardless of the When using INT3 _____ filter, the INT3 _____ interrupt is generated synchronizing w ith the clock for the digital filter. setting value of the TCC06 bit, an interrupt request is generated. TCC02 RW TCC07 RW TCC06 RW Change this bit w hen the TCC00 bit is set to “0” (count stop). TCC00 RW TCC01 RW b1 b0 0 b7 b6 b5 b4 b3 b2 RW TCC04 RW TCC03 Timer C Count Start Bit 0 : Stops counting 1 : Starts counting Timer C Count Source Select Bit(1) b2 b1 0 0 : f1 0 1 : f8 1 0 : f32 1 1 : fRING-fast The IR bit in the INT3IC register may be set to “1” (requests interrupt) w hen the TCC03, TCC04, TCC06 and TCC07 bits are rew ritten. Refer to 20.2.5 Changing Interrupt Factor. b4 b3 0 0 : Rising edge 0 1 : Falling edge 1 0 : Both edges 1 1 : Do not set — (b5) Reserved Bit RW |
|
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 |