| Electronic Components Datasheet Search |
|
CYRF69313 Datasheet(PDF) 49 Page - Cypress Semiconductor |
|
|
|||||||||||||||||||||||||||||
CYRF69313 Datasheet(HTML) 49 Page - Cypress Semiconductor |
|
49 / 80 page ![]() CYRF69313 Document Number: 001-66503 Rev. *C Page 49 of 80 Interrupt Controller The interrupt controller and its associated registers allow the user’s code to respond to an interrupt from almost every functional block in the CYRF69313 devices. The registers associated with the interrupt controller allow interrupts to be disabled either globally or individually. The registers also provide a mechanism by which a user may clear all pending and posted interrupts, or clear individual posted or pending interrupts. The following table lists all interrupts and the priorities that are available in the CYRF69313. Architectural Description An interrupt is posted when its interrupt conditions occur. This results in the flip-flop in Figure 16 on page 50 clocking in a ‘1’. The interrupt remains posted until the interrupt is taken or until it is cleared by writing to the appropriate INT_CLRx register. A posted interrupt is not pending unless it is enabled by setting its interrupt mask bit (in the appropriate INT_MSKx register). All pending interrupts are processed by the Priority Encoder to determine the highest priority interrupt which is taken by the M8C if the Global Interrupt Enable bit is set in the CPU_F register. Disabling an interrupt by clearing its interrupt mask bit (in the INT_MSKx register) does not clear a posted interrupt, nor does it prevent an interrupt from being posted. It simply prevents a posted interrupt from becoming pending. Nested interrupts can be accomplished by re-enabling interrupts inside an interrupt service routine. To do this, set the IE bit in the Flag Register. A block diagram of the CYRF69313 Interrupt Controller is shown in Figure 16 on page 50. Figure 15. Memory Mapped Registers Read/Write Timing Diagram Memory mapped registers Read/Write timing diagram clk_sys rd_wrn Valid Addr rdata wdata Table 69. Interrupt Numbers, Priorities, Vectors Interrupt Priority Interrupt Address Name 0 0000h Reset 1 0004h POR 2 0008h INT0 3 000Ch SPI Transmitter Empty 4 0010h SPI Receiver Full 5 0014h GPIO Port 0 6 0018h GPIO Port 1 7 001Ch INT1 8 0020h EP0 9 0024h EP1 10 0028h EP2 11 002Ch USB Reset 12 0030h USB Active 13 0034h 1 ms Interval timer 14 0038h Programmable Interval Timer 15 003Ch Reserved 16 0040h Reserved 17 0044h 16-bit Free Running Timer Wrap 18 0048h INT2 19 004Ch Reserved 20 0050h GPIO Port 2 21 0054h Reserved 22 0058h Reserved 23 005Ch Reserved 24 0060h Reserved 25 0064h Sleep Timer Table 69. Interrupt Numbers, Priorities, Vectors (continued) Interrupt Priority Interrupt Address Name |
|
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 |