11.6.4 Command Register
The CAN controller is set to operate in different modes by setting the command register CAN_COMMAND, as listed in the following table.
| Bit Number | Name | Reset Value | Function |
|---|---|---|---|
| [31:16] | Revision_Control | This field contains the version of the CAN core in the following format. This is a read-only field. [major version].[minor version].[revision number] [31:28]: Major version [27:24]: Minor version [23:16]: Revision number | |
| [15:4] | Reserved | 0 | Reserved |
| [3:0] | CAN_COMMAND[3] | 0 | SRAM Test mode 0: Normal operation 1: Enable SRAM Test mode |
| CAN_COMMAND[2] | 0 | Loopback-test mode 0: Normal operation 1: Loopback mode is enabled[1]: Listen-only mode | |
| CAN_COMMAND[1] | 0 | Listen-only mode 0: Active 1: CAN listen only. The output is held at ‘R’ level. The CAN controller is only listening. | |
| CAN_COMMAND[0] | 0 | Run/Stop mode 0: Sets the CAN controller into Stop mode Returns 0 when stopped 1: Sets the CAN controller into Run mode Returns 1 when running |
