AT32F425
Series Reference Manual
2022.03.30
Page 332
Ver 2.01
starts, and it is cleared by hardware at the end of reception.
Bit 8
CUSS
0x0
ro
Current transmit status
0: No transmit occurs
1: ransmit is in progress
Note: This bit is set by hardware when the CAN
transmission starts, and it is cleared by hardware at the
end of transmission.
Bit 7: 5
Reserved
0x0
resd
Kept at its default value.
Bit 4
EDZIF
0x0
rw1c
Enter doze mode interrupt flag
0: Sleep mode is not entered or no condition for flag set.
1: Sleep mode is entered.
Note:
This bit is set by hardware only when EDZIEN=1 and the
CAN enters Sleep mode. Whe set, this bit will generate a
status change interrupt. This bit is cleared by software
(writing 1 to itself) or by hardware when DZC is cleared.
Bit 3
QDZIF
0x0
rw1c
Exit doze mode interrupt flag
0: Sleep mode is not left or no condition for exit.
1: Sleep mode has been left or exit condition has
generated.
Note:
This bit is cleared by software (writing 1 to itself)
Sleep mode is left when a SOF is detected on the bus.
When QDZIEN=1, this bit will generate a status change
interrupt.
Bit 2
EOIF
0x0
rw1c
Error occur interrupt flag
0: No error interrupt or no condition for error interrupt flag
1: Error interrupt is generated.
Note:
This bit is cleared by software (writing 1 to itself).
This bit is set by hardware only when the corresponding
bit is set in the CAN_ESTS register and the corresponding
interrupt enable bit in the CAN_INTEN register is enabled.
When set, this bit will generate a status change interrupt.
Bit 1
DZC
0x1
ro
Doze mode acknowledge
0: The CAN is not in Sleep mode.
1: CAN is in Sleep mode.
Note:
This bit is used to decide whether the CAN is in Sleep
mode or not. This bit acknowledges the Sleep mode
request generated by software.
The Sleep mode can be entered only when the current
CAN activity (transmission or reception) is completed. For
this reason, the software acknowledges the entry of Sleep
mode after this bit is set by hardware.
The Sleep mode is left only once 11 consecutive recessive
bits have been detect on the CAN RX pin. For this reason,
the software acknowledges the exit of Sleep mode after
this bit is cleared by hardware.
Bit 0
FZC
0x0
ro
Freeze mode confirm
0: The CAN is not in Freeze mode.
1: The CAN is in Freeze mode.
Note:
This bit is used to decide whether the CAN is in Freeze
mode or not. This bit acknowledges the Freeze mode
request generated by software.
The Freeze mode can be entered only when the current
CAN activity (transmission or reception) is completed. For
this reason, the software acknowledges the entry of
Freeze mode after this bit is set by hardware.
The Freeze mode is left only once 11 consecutive
recessive bits have been detect on the CAN RX pin. For
this reason, the software acknowledges the exit of Freeze
mode after this bit is cleared by hardware.