Renesas M16C Laptop User Manual


 
Rev.1.10 Jul 01, 2005 page 304 of 318
REJ09B0124-0110
M16C/6N Group (M16C/6NK, M16C/6NM) 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 CiCTLR register (i = 0, 1) 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/initializa-
tion mode, always be sure to check that the State_Reset bit in the CiSTR 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.