CFR
The Function Register controls the features RAM_Initialisation and Power_Down also by application register.
The CAN module can be prepared for Power_Down by setting the port CAN_CLKSTOP_REQ to one or writing to CFR.ClkStReq a one. The power down state is left by setting port CAN_CLKSTOP_REQ to zero or writing to CFR.ClkStReq a zero, acknowledged by CAN_CLKSTOP_ACK is going to zero as well as CFR.ClkStAck. The CCTRL.Init bit is left one and has to be written by the application to re-enable CAN transfers.
Note: It's recommended to use either the ports CAN_CLKSTOP_REQ and CAN_CLKSTOP_ACK or the CCTRL.ClkStReq and CFR.ClkStAck. The application CFR.ClkStReq showsalso the actual status of the portCAN_CLKSTOP_REQ.
Module Instance | Base Address | Register Address |
---|---|---|
can0 | 0xFFC00000 | 0xFFC00018 |
can1 | 0xFFC01000 | 0xFFC01018 |
Offset: 0x18
Access: RW
Important: To prevent indeterminate
system behavior, reserved areas of memory must not be accessed by software or
hardware. Any area of the memory map that is not explicitly defined as a register
space or accessible memory is considered reserved.
Bit Fields | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
Reserved |
|||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Reserved |
RAMinit RW 0x0 |
Reserved |
ClkStReq RW 0x0 |
ClkStAck RO 0x0 |
CFR Fields
Bit | Name | Description | Access | Reset | ||||||
---|---|---|---|---|---|---|---|---|---|---|
3 | RAMinit | Request for automatic RAM Initialization
|
RW | 0x0 | ||||||
1 | ClkStReq | Clock Stop Request |
RW | 0x0 | ||||||
0 | ClkStAck | Clock Stop Acknowledgement |
RO | 0x0 |