12.01.2013 Views

DATA SHEET - IEETA

DATA SHEET - IEETA

DATA SHEET - IEETA

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Philips Semiconductors Product specification<br />

8-bit microcontroller with on-chip CAN P8xC592<br />

13.5.6 INTERRUPT REGISTER (IR)<br />

The Interrupt Register allows the identification of an interrupt source. When one or more bits of this register are set, a<br />

CAN interrupt (SI01) will be indicated to the CPU. All bits are reset by the CAN-controller after this register is read by the<br />

CPU. This register appears to the CPU as a read only memory.<br />

Table 38 Interrupt Register (address 3)<br />

7 6 5 4 3 2 1 0<br />

− − − WUI OI EI TI RI<br />

Table 39 Description of the IR bits<br />

BIT SYMBOL FUNCTION<br />

7 − Reserved.<br />

6 − Reserved.<br />

5 − Reserved.<br />

4 WUI Wake-Up Interrupt. The value of WUI is set to:<br />

HIGH (set), when the sleep mode is left. See Section 13.5.4.<br />

LOW (reset), by a read access of the Interrupt Register by the CPU.<br />

3 OI Overrun Interrupt (note 1). The value of OI is set to:<br />

HIGH (set), if both Receive Buffers contain a message and the first byte of another message should<br />

be stored (passed acceptance), and the Overrun Interrupt Enable is HIGH (enabled).<br />

LOW (reset), by a read access of the Interrupt Register by the CPU.<br />

2 EI Error Interrupt. The value of EI is set to:<br />

HIGH (set), on a change of either the Error Status or Bus Status bits, if the Error Interrupt Enable is<br />

HIGH (enabled). See Section 13.5.5.<br />

LOW (reset), by a read access of the Interrupt Register by the CPU.<br />

1 TI Transmit Interrupt. The value of TI is set to:<br />

HIGH (set), on a change of the Transmit Buffer Access from LOW to HIGH (released) and<br />

Transmit Interrupt Enable is HIGH (enabled).<br />

LOW (reset), after a read access of the Interrupt Register by the CPU.<br />

0 RI Receive Interrupt (note 2). The value of RBS is set to:<br />

HIGH (set), when a new message is available in the Receive Buffer and the Receive Interrupt<br />

Enable bit is HIGH (enabled).<br />

LOW (reset) automatically by a read access of Interrupt Register by the CPU.<br />

Notes<br />

1. Overrun Interrupt bit (if enabled) and Data Overrun bit (see Section 13.5.5) are set at the same time.<br />

2. Receive Interrupt bit (if enabled) and Receive Buffer Status bit (see Section 13.5.5) are set at the same time.<br />

1996 Jun 27 39

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!