13
13-58
Ver.0.10
Figure 13.4.2 Initializing the CAN Module
CAN MODULE
13.4 Initializing the CAN Module
Initialize CAN module
Set Input/output Port
Operation Mode Register
Set Interrupt Controller
Set CAN Related Interrupt
Mask Register
Set CAN Configuration
Register
Set ID Mask Register
Set CAN operation mode
Negate CAN reset
CAN module initialization
completed
Set interrupt priority
• Enable/disable CAN
error passive interrupt
• Enable/disable CAN
bus error interrupt
• Enable/disable CAN
bus off interrupt
• Set the number of times sampled
• Set bit timing (baud rate)
Set ID mask bit
Set BasicCAN mode
Release CAN module from reset
• Enable/disable interrupt
to be generated at
completion of transmission
or reception in the slot
Set CAN Error Interrupt
Mask Register
Set CAN Slot Interrupt
Mask Register
• Set CAN Extended IDRegister
• Set IDs for message slots
14 and 15
• Set Message Slot Control
Register
Set loopback mode
Summary of Contents for M32170F3VFP
Page 42: ...1 1 24 Ver 0 10 OVERVIEW 1 4 Pin Layout This is a blank page ...
Page 56: ...2 2 14 Ver 0 10 This is a blank page ...
Page 88: ...3 3 32 Ver 0 10 ADDRESS SPACE 3 7 Notes on Address Space This is a blank page ...
Page 270: ...9 9 40 Ver 0 10 DMAC 9 4 Precautions about the DMAC This is a blank page ...
Page 614: ...12 12 64 Ver 0 10 This is a blank page SERIAL I O 12 9 Precautions on Using UART Mode ...
Page 756: ...17 17 10 Ver 0 10 RAM BACKUP MODE 17 4 Exiting RAM Backup Mode Wakeup This is a blank page ...
Page 762: ...18 18 6 Ver 0 10 OSCILLATION CIRCUIT 18 2 Clock Generator Circuit This is a blank page ...
Page 831: ...CHAPTER 22 CHAPTER 22 TYPICAL CHARACTERISTICS 22 1 A D Conversion Characteristics ...
Page 833: ...Appendix 1 1 Dimensional Outline Drawing APPENDIX 1 APPENDIX 1 MECHANICAL SPECIFICATIONS ...
Page 841: ...Appendix 3 1 Precautions about Noise APPENDIX 3 APPENDIX 3 PRECAUTIONS ABOUT NOISE ...