Renesas 16-bit single-chip microcomputer Computer Hardware User Manual


 
Rev.1.02 Jul 01, 2005 page 301 of 314
REJ09B0126-0102
M16C/6N Group (M16C/6NL, M16C/6NN) 22. Usage Precaution
Under development
This document is under development and its contents are subject to change.
22.13.2 Performing CAN Configuration
If the Reset bit in the C0CTLR register is changed from 0 (operation mode) to 1 (reset/initialization
mode) in order to place the CAN module from CAN operation mode into CAN reset/initialization mode,
always be sure to check that the State_Reset bit in the C0STR register is set to 1 (reset mode).
Similarly, if the Reset bit is changed from 1 to 0 in order to place the CAN module from CAN reset/
initialization mode into CAN operation mode, always be sure to check that the State_Reset bit is set to 0
(operation mode).
The procedure is described below.
To place CAN Module from CAN Operation Mode into CAN Reset/Initialization Mode
Change the Reset bit from 0 to 1.
Check that the State_Reset bit is set to 1.
To place CAN Module from CAN Reset/Initialization Mode into CAN Operation Mode
Change the Reset bit from 1 to 0.
Check that the State_Reset bit is set to 0.