| Electronic Components Datasheet Search |
|
SAFC161PI Datasheet(PDF) 306 Page - Infineon Technologies AG |
|
|
|||||||||||||||||||||||||||||
SAFC161PI Datasheet(HTML) 306 Page - Infineon Technologies AG |
|
306 / 400 page ![]() &3, 7KH ,& %XV 0RGXOH User’s Manual 17-12 1999-08 17.4 I 2C Interrupt Control The bit addressable interrupt control registers XP0IC and XP1IC are assigned to the I 2C module. The occurrence of an interrupt request sets the respective interrupt request bit XP0IR/XP1IR. If this interrupt node is enabled (XPxEN=’1’) a CPU interrupt is generated and arbitrated. These interrupt requests may be serviced via a standard service routine or with PEC transfers (see below). If polling of bits XP0IR and XP1IR is used please note that these request bits must be cleared via software. Data transfer event interrupts are indicated by bit IRQD and allocated to vector XP0INT. A data transfer event occurs after the acknowledge bit for a byte has been received or transmitted. Protocol transfer event interrupts are indicated by bit IRQP and allocated to vector XP1INT. A protocol transfer event occurs when bit SLA is set, i.e. a slave address is received, or when bit AL is set, i.e. the bus arbitration has been lost. As long as either interrupt request flag (IRQD or IRQP) of the I 2C bus module is set the selected clock line(s) SCLx is/are held low. This disables any further transfer on the I 2C bus and enables the driver software to react on the recent event. When both request bits are cleared the clock line(s) is/are released again and subsequent bus transfers can take place. Note: The interrupt node request bits XP0IR and XP1IR are cleared automatically when the CPU services the respective interrupt (not in case of polling!). The I 2C bus module interrupt request bit IRQP must be cleared via the driver software. The I 2C bus module interrupt request bit IRQD is cleared automatically upon a read/write access to buffer ICRTB if bit AIRDIS=’0’, otherwise it must be cleared via the driver software. 1) While either IRQD or IRQP is set and the I 2C module is in master mode or has been selected as a slave, the I 2C clock line is held low which prevents further transfers on the I2C bus. The clock line (i.e. the I 2C bus) is released when both IRQD and IRQP are cleared. Only in this case the next I 2C bus action can take place. Note that IRQD is cleared automatically upon a read or write access to register ICRTB if bit AIRDIS is not set. Both interrupt request bits may be set or cleared via software, e.g. to control the I 2C bus. |
|
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 |