s908gz60cfa Freescale Semiconductor, Inc, s908gz60cfa Datasheet - Page 160

no-image

s908gz60cfa

Manufacturer Part Number
s908gz60cfa
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
s908gz60cfaE
Manufacturer:
FREESCALE
Quantity:
1 780
Part Number:
s908gz60cfaE
Manufacturer:
FREESCALE
Quantity:
1 780
Part Number:
s908gz60cfaE
Manufacturer:
FREESCALE
Quantity:
8 000
Part Number:
s908gz60cfaE
Manufacturer:
FREESCALE
Quantity:
20 000
MSCAN08 Controller (MSCAN08)
12.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
160
If the MSCAN08 detects bus activity while in sleep mode, it sets the WUPIF flag. If not masked, a
wakeup 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 wakeup.
0 = No wakeup 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:
MC68HC908GZ60 • MC68HC908GZ48 • MC68HC908GZ32 Data Sheet, Rev. 6
WUPIF
$0504
Bit 7
0
Figure 12-20. 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
BOFFIF
2
0
OVRIF
1
0
Freescale Semiconductor
Bit 0
RXF
0
(1)
(2)
. If not
. If not

Related parts for s908gz60cfa