MC68HC908AS60ACFN FREESCALE [Freescale Semiconductor, Inc], MC68HC908AS60ACFN Datasheet - Page 291

no-image

MC68HC908AS60ACFN

Manufacturer Part Number
MC68HC908AS60ACFN
Description
M68HC08 Microcontrollers
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
23.13.5 MSCAN08 Receiver Flag Register (CRFLG)
All bits of this register are read and clear only. A flag can be cleared by writing a 1 to the corresponding
bit position. A flag can be cleared only when the condition which caused the setting is valid no more.
Writing a 0 has no effect on the flag setting. Every flag has an associated interrupt enable flag in the
CRIER register. A hard or soft reset will clear the register.
WUPIF — Wakeup Interrupt Flag
RWRNIF — Receiver Warning Interrupt Flag
TWRNIF — Transmitter Warning Interrupt Flag
RERRIF — Receiver Error Passive Interrupt Flag
1. Condition to set the flag: RWRNIF = (96 ≤ REC) & RERRIF & TERRIF & BOFFIF
2. Condition to set the flag: TWRNIF = (96 ≤ TEC) & RERRIF & TERRIF & BOFFIF
3. Condition to set the flag: RERRIF = (127 ≤ REC ≤ 255) & BOFFIF
Freescale Semiconductor
If the MSCAN08 detects bus activity while in Sleep mode, it sets the WUPIF flag. If not masked, a
wake-up interrupt is pending while this flag is set.
This flag is set when the MSCAN08 goes into warning status due to the receive error counter (REC)
exceeding 96 and neither one of the Error Interrupt flags or the Bus-off Interrupt flag is set
masked, an error interrupt is pending while this flag is set.
This flag is set when the MSCAN08 goes into warning status due to the transmit error counter (TEC)
exceeding 96 and neither one of the error interrupt flags or the bus-off interrupt flag is set
masked, an error interrupt is pending while this flag is set.
This flag is set when the MSCAN08 goes into error passive status due to the receive error counter
exceeding 127 and the bus-off interrupt flag is not set
while this flag is set.
1 = MSCAN08 has detected activity on the bus and requested wake-up.
0 = No wake-up interrupt has occurred.
1 = MSCAN08 has gone into receiver warning status.
0 = No receiver warning status has been reached.
1 = MSCAN08 has gone into transmitter warning status.
0 = No transmitter warning status has been reached.
1 = MSCAN08 has gone into receiver error passive status.
0 = No receiver error passive status has been reached.
Address:
Reset:
Read:
Write:
MC68HC908AZ60A • MC68HC908AS60A • MC68HC908AS60E Data Sheet, Rev. 6
WUPIF
$0504
Bit 7
0
Figure 23-19. Receiver Flag Register (CRFLG)
RWRNIF
6
0
TWRNIF
5
0
RERRIF
4
0
(3)
TERRIF
. If not masked, an Error interrupt is pending
3
0
Programmer’s Model of Control Registers
BOFFIF
2
0
OVRIF
1
0
Bit 0
RXF
0
(2)
(1)
. If not
. If not
291

Related parts for MC68HC908AS60ACFN