| Electronic Components Datasheet Search |
|
ADuC7122BBCZ Datasheet(PDF) 83 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADuC7122BBCZ Datasheet(HTML) 83 Page - Analog Devices |
|
83 / 96 page ![]() Data Sheet ADuC7122 192B192B IRQCLRE Register Name: IRQCLRE Address: 0xFFFF0038 Default Value: 0x00000000 Access: Write only Table 141. IRQCLRE MMR Bit Designations Bit Name Description 31:26 Reserved These bits are reserved and should not be written to. 25 IRQ5CLRI A 1 must be written to this bit in the IRQ5 interrupt service routine to clear an edge. 24 IRQ4CLRI A 1 must be written to this bit in the IRQ4 interrupt service routine to clear an edge. 23 Reserved This bit is reserved and should not be written to. 22 IRQ3CLRI A 1 must be written to this bit in the IRQ3 interrupt service routine to clear an edge triggered IRQ3 interrupt. 21 IRQ2CLRI A 1 must be written to this bit in the IRQ2 interrupt service routine to clear an edge triggered IRQ2 interrupt. 20 IRQ1CLRI A 1 must be written to this bit in the IRQ1 interrupt service routine to clear an edge triggered IRQ1 interrupt. 19 IRQ0CLRI A 1 must be written to this bit in the IRQO interrupt service routine to clear an edge triggered IRQ0 interrupt. 18:0 Reserved These bits are reserved and should not be written to. 74B TIMERS The ADuC7122 has five general-purpose timers/counters. • Timer0 • Timer1 • Timer2 or wake-up timer • Timer3 or watchdog timer • Timer4 The five timers in their normal mode of operation can be either free-running or periodic. In free-running mode, the counter decrements/increments from the maximum/minimum value until zero scale/full scale and starts again at the maximum/minimum value. In periodic mode, the counter decrements/increments from the value in the load register (TxLD MMR) until zero scale/full scale and starts again at the value stored in the load register. The value of a counter can be read at any time by accessing its value register (TxVAL). Timers are started by writing in the control register of the corresponding timer (TxCON). In normal mode, an IRQ is generated each time the value of the counter reaches zero if counting down, or full scale if counting up. An IRQ can be cleared by writing any value to the clear register of the particular timer (TxCLRI). The event selection feature allows flexible interrupt generation based on Timer0 and Timer1. T0CON and T1CON can be used to configure the interrupt sources, as shown in Table 142. When either Timer0 or Timer1 expires, an interrupt occurs based on the event selection in T0CON and T1CON MMRs. Table 142. Event Selection Numbers Event Selection (TxCON[16:12]) Interrupt Number Name 00000 2 Timer0 00001 3 Timer1 00010 4 Wake-up timer (Timer2) 00011 5 Watchdog timer (Timer3) 00100 6 Timer4 00101 7 Reserved 00110 8 Power supply monitor 00111 9 Undefined 01000 10 Flash Block 0 01001 11 Flash Block 1 01010 12 ADC 01011 13 UART 01100 14 SPI 01101 15 I2C0 master 01110 16 I2C0 slave 01111 17 I2C1 master 10000 18 I2C1 slave 10001 19 External IRQ0 75B HOUR:MINUTE:SECOND:1/128 FORMAT To use the timer in hour:minute:second:hundredths format, select the 32,768 kHz clock and prescaler of 256. The hundredths field does not represent milliseconds but 1/128 of a second (256/32,768). The bits representing the hour, minute, and second are not consecutive in the register. This arrangement applies to TxLD and TxVAL when using the hour:minute:second: hundredths format as set in TxCON[5:4]. See Table 143 for additional details. Table 143. Hour:Minnute:Second:Hundredths Format Bit Value Description 31:24 0 to 23 or 0 to 255 Hours 23:22 0 Reserved 21:16 0 to 59 Minutes 15:14 0 Reserved 13.8 0 to 59 Seconds 7 0 Reserved 6:0 0 to 127 1/128 second Rev. A | Page 83 of 96 |
|
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 |