04.03.2013 Views

RL78/D1A User's Manual: Hardware - Renesas

RL78/D1A User's Manual: Hardware - Renesas

RL78/D1A User's Manual: Hardware - Renesas

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Under development<br />

Preliminary document<br />

Specifications in this document are tentative and subject to change.<br />

<strong>RL78</strong>/<strong>D1A</strong> CHAPTER 14 CAN CONTROLLER<br />

Figure 14-64. Re-initialization<br />

START<br />

Clear<br />

OPMODE<br />

INIT mode?<br />

Yes<br />

Set<br />

C0BRP register,<br />

C0BTR register<br />

Set<br />

C0IE register<br />

Set<br />

C0MASK register<br />

Initialize message buffers<br />

C0ERC and C0INFO<br />

register clear?<br />

Set CCERC bit<br />

Set C0CTRL register<br />

(Set OPMODE)<br />

END<br />

Yes<br />

Caution After setting the CAN module to the initialization mode, avoid setting the module to another<br />

operation mode immediately after. If it is necessary to immediately set the module to another<br />

operation mode, be sure to access registers other than the C0CTRL and C0GMCTRL registers<br />

(e.g. set a message buffer).<br />

Remark OPMODE: Normal operation mode, normal operation mode with ABT, receive-only mode, singleshot<br />

mode, self-test mode<br />

R01UH0317EJ0004 Rev. 0.04 920<br />

Feb. 22, 2013<br />

No<br />

No

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!