Renesas M16C/6NM Network Card User Manual


 
Rev.2.00 Nov 28, 2005 page 364 of 378
REJ09B0124-0200
M16C/6N Group (M16C/6NK, M16C/6NM) 23. Usage Precaution
Under development
This document is under development and its contents are subject to change.
23.14.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.