| Electronic Components Datasheet Search |
|
HD6432142 Datasheet(PDF) 645 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
HD6432142 Datasheet(HTML) 645 Page - Renesas Technology Corp |
|
645 / 1177 page ![]() Section 18 Host Interface Rev. 4.00 Sep 27, 2006 page 601 of 1130 REJ09B0327-0400 18.4 Interrupts 18.4.1 IBF1, IBF2, IBF3, IBF4 The host interface can issue two interrupt requests to the slave CPU: IBF1, IBF2, IBF3, and IBF4. They are input buffer full interrupts for input data registers IDR1, IDR2, IDR3, and IDR4 respectively. Each interrupt is enabled when the corresponding enable bit is set. Table 18.9 Input Buffer Full Interrupts Interrupt Description IBF1 Requested when IBFIE1 is set to 1 and IDR1 is full IBF2 Requested when IBFIE2 is set to 1 and IDR2 is full IBF3 Requested when IBFIE3 is set to 1 and IDR3 is full IBF4 Requested when IBFIE4 is set to 1 and IDR4 is full 18.4.2 HIRQ11, HIRQ1, HIRQ12, HIRQ3, and HIRQ4 In slave mode (single-chip mode, with HI12E = 1 in SYSCR2), bits P45DR to P43DR in the port 4 data register (P4DR) and bits PB1ODR and PB0ODR in the port B data register (PBODR) can be used as host interrupt request latches The corresponding bits in P4DR are cleared to 0 by the host processor’s read signal ( IOR). If CS1 and HA0 are low, when IOR goes low and the host reads ODR1, HIRQ1 and HIRQ12 are cleared to 0. If CS2 and HA0 are low, when IOR goes low and the host reads ODR2, HIRQ11 is cleared to 0. The corresponding bit in PBODR is cleared to 0 by the host’s read signal ( IOR). If CS3 and HA0 are low, when IOR goes low and the host reads ODR3, HIRQ3 is cleared to 0. If CS4 and HA0 are low, when IOR goes low and the host reads ODR4, HIRQ4 is cleared to 0. To generate a host interrupt request, normally on-chip firmware writes 1 in the corresponding bit. In processing the interrupt, the host’s interrupt handling routine reads the output data register (ODR1, ODR2, ODR3, or ODR4) and this clears the host interrupt latch to 0. Table 18.10 indicates how these bits are set and cleared. Figure 18.3 shows the processing in flowchart form. |
|
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 |