SLAU723A October 2017 – October 2018 MSP432E401Y , MSP432E411Y
Controller Area Network Power Control (PCCAN)
The PCCAN register controls the power applied to the CAN module. The function of this bit depends on the current state of the device (run, sleep or deep-sleep mode) and value of the corresponding bits in the RCGCCAN, SCGCCAN, and DCGCCAN registers. If the Rn, Sn, or Dn bit of the respective RCGCCAN, SCGCCAN, and DCGCCAN registers is 1 and the device is in that mode, the module is powered and receives a clock regardless of what the corresponding Pn bit in the PCCAN register is.
However, if the Rn, Sn, or Dn bit of the respective RCGCCAN, SCGCCAN, and DCGCCAN registers is 0 and the device is in that mode, then the module behaves differently depending on the value of the corresponding Pn bit in the PCCAN register. In this case, when the Pn bit is clear, the module is not powered and does not receive a clock. If the Pn bit is set, the module is powered but does not receive a clock. Table 4-183 lists the differences.
Rn, Sn, or Dn Value in Respective RCGCx, SCGCx, or DCGCx Register | Pn | Description |
---|---|---|
0 | 0 |
Module is not powered and does not receive a clock. In this case, the state of the peripheral is not retained. This is the lowest power consumption state of any peripheral, because it consumes no dynamic nor leakage current. Hardware should perform a peripheral reset if the active mode changes and the RCGCx, SCGCx, or DCGCx register is 1 or the P0 bit is changed to 1. Software must reinitialize the peripheral when reenabled due to the loss of state. |
0 | 1 |
Module is powered but does not receive a clock. In this case, the peripheral is inactive. This is the second-lowest power consumption of any peripheral, because it consumes only leakage current. |
1 | X | Module is powered and receives a clock. |
PCCAN is shown in Figure 4-165 and described in Table 4-184.
Return to Summary Table.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||||||||||
R-0x0 | |||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | P1 | P0 | |||||||||||||
R-0x0 | R/W-0x1 | R/W-0x1 | |||||||||||||