| Electronic Components Datasheet Search |
|
CC1111F16RSP Datasheet(PDF) 65 Page - TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS |
|
|
|||||||||||||||||||||||||||||
CC1111F16RSP Datasheet(HTML) 65 Page - TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS |
|
65 / 240 page ![]() CC1110Fx / CC1111Fx SWRS033E Page 65 of 239 IEN2 (0x9A) – Interrupt Enable 2 Register Bit Name Reset R/W Description 7:6 0 R/W Not used Watchdog timer interrupt enable 0 Interrupt disabled 5 WDTIE 0 R/W 1 Interrupt enabled Port 1 interrupt enable 0 Interrupt disabled 4 P1IE 0 R/W 1 Interrupt enabled USART1 TX interrupt enable / I 2S TX interrupt enable 0 Interrupt disabled 3 UTX1IE / I2STXIE 0 R/W 1 Interrupt enabled USART0 TX interrupt enable 0 Interrupt disabled 2 UTX0IE 0 R/W 1 Interrupt enabled Port 2 interrupt enable (Also used for USB interrupt enable on CC1111Fx) 0 Interrupt disabled 1 P2IE / USBIE 0 R/W 1 Interrupt enabled RF general interrupt enable 0 Interrupt disabled 0 RFIE 0 R/W 1 Interrupt enabled 11.5.2 Interrupt Processing When an interrupt occurs, the CPU will vector to the interrupt vector address shown in Table 39, if this particular interrupt has been enabled. Once an interrupt service has begun, it can be interrupted only by a higher priority interrupt. The interrupt service is terminated by a RETI (return from interrupt) instruction. When a RETI is performed, the CPU will return to the instruction that would have been next when the interrupt occurred. When the interrupt condition occurs, an interrupt flag bit will be set in one of the CPU interrupt flag registers and in the peripherals interrupt flag register, if this is available. These bits are asserted regardless of whether the interrupt is enabled or disabled. If the interrupt is enabled when an interrupt flag is asserted, then on the next instruction cycle the interrupt will be acknowledged by hardware forcing an LCALL to the appropriate vector address. Interrupt response will require a varying amount of time depending on the state of the CPU when the interrupt occurs. If the CPU is performing an interrupt service with equal or greater priority, the new interrupt will be pending until it becomes the interrupt with highest priority. In other cases, the response time depends on the current instruction. The fastest possible response to an interrupt is seven instruction cycles. This includes one machine cycle for detecting the interrupt and six cycles to perform the LCALL. Clearing interrupt flags must be done correctly to ensure that no interrupts are lost or processed more than once. For pulsed or edge shaped interrupt sources one should clear the CPU interrupt flag prior to clearing the module interrupt flag, if available, for flags that are not automatically cleared. For level triggered interrupts (port interrupts) one has to clear the module interrupt flag prior to clearing the CPU interrupt flag. When handling interrupts where the CPU interrupt flag is cleared by hardware, the software should only clear the module interrupt flag. The following interrups are cleared by hardware: • RFTXRX • T1 • ADC • T2 • URX0 • T3 • URX1/I2SRX • T4 One or more module flags can be cleared at once. However the safest approach is to only handle one interrupt source each time the interrupt is triggered, hence clearing only one |
|
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 |