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-48. Format of CAN Message Configuration Register (C0MCONFm, C1MCONFm) (2/2)<br />

MA0 Message Buffer Assignment Bit<br />

0 Message buffer not used.<br />

1 Message buffer used.<br />

Caution Be sure to write 0 to bits 2 and 1.<br />

Remark m = 0 to 15<br />

(23) CAN message ID register m (C0MIDLm, C1MIDLm and C0MIDHm, C1MIDHm)<br />

The C0MIDLm, C1MIDLm and C0MIDHm, C1MIDHm registers are used to set an identifier (ID).<br />

Figure 14-49. Format of CAN Message ID Register m<br />

(C0MIDLm, C1MIDLm and C0MIDHm, C1MIDHm)<br />

Address: See Table 14-16 After reset: Undefined R/W<br />

C0MIDLm,<br />

C1MIDLm<br />

C0MIDHm,<br />

C1MIDHm<br />

15 14 13 12 11 10 9 8<br />

ID15 ID14 ID13 ID12 ID11 ID10 ID9 ID8<br />

7 6 5 4 3 2 1 0<br />

ID7 ID6 ID5 ID4 ID3 ID2 ID1 ID0<br />

15 14 13 12 11 10 9 8<br />

IDE 0 0 ID28 ID27 ID26 ID25 ID24<br />

7 6 5 4 3 2 1 0<br />

ID23 ID22 ID21 ID20 ID19 ID18 ID17 ID16<br />

IDE Format Mode Specification Bit<br />

0 Standard format mode (ID28 to ID18: 11 bits) Note<br />

1 Extended format mode (ID28 to ID0: 29 bits)<br />

Note The ID17 to ID0 bits are not used.<br />

ID28 to ID0 Message ID<br />

ID28 to ID18 Standard ID value of 11 bits (when IDE = 0)<br />

ID28 to ID0 Extended ID value of 29 bits (when IDE = 1)<br />

Cautions 1. Be sure to write 0 to bits 14 and 13 of the C0MIDHm, C1MIDHm register.<br />

2. Be sure to align the ID value according to the given bit positions into this<br />

registers. Note that for standard ID, the ID value must be shifted to fit into<br />

ID28 to ID11 bit positions.<br />

Remark m = 0 to 15<br />

R01UH0317EJ0004 Rev. 0.04 876<br />

Feb. 22, 2013

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

Saved successfully!

Ooh no, something went wrong!