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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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 />

(24) CAN message control register m (C0MCTRLm, C1MCTRLm)<br />

The C0MCTRLm, C1MCTRLm register is used to control the operation of the message buffer.<br />

(a) Read<br />

(b) Write<br />

(a) Read<br />

Figure 14-50. Format of CAN Message Control Register m (C0MCTRLm, C1MCTRLm) (1/3)<br />

Address: See Table 14-16. After reset: 00x00000 R/W<br />

000xx000B<br />

C0MCTRLm,<br />

C1MCTRLm<br />

C0MCTRLm,<br />

C1MCTRLm<br />

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

0 0 MUC 0 0 0 0 0<br />

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

0 0 0 MOW IE DN TRQ RDY<br />

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

0 0 0 0 Set<br />

IE<br />

0 Set<br />

TRQ<br />

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

0 0 0 Clear<br />

MOW<br />

R01UH0317EJ0004 Rev. 0.04 877<br />

Feb. 22, 2013<br />

Clear<br />

IE<br />

Clear<br />

DN<br />

MUC Note Message Buffer Data Updating Bit<br />

Clear<br />

TRQ<br />

0 The CAN module is not updating the message buffer (reception and storage).<br />

1 The CAN module is updating the message buffer (reception and storage).<br />

Note The MUC bit is undefined until the first reception and storage is performed.<br />

MOW Message Buffer Overwrite Status Bit<br />

0 The message buffer is not overwritten by a newly received data frame.<br />

1 The message buffer is overwritten by a newly received data frame.<br />

Set<br />

RDY<br />

Clear<br />

RDY<br />

Remark MOW bit is not set to 1 even if a remote frame is received and stored in the transmit<br />

message buffer with DN = 1.<br />

IE Message Buffer Interrupt Request Enable Bit<br />

0 Receive message buffer: Valid message reception completion interrupt disabled.<br />

Transmit message buffer: Normal message transmission completion interrupt disabled.<br />

1 Receive message buffer: Valid message reception completion interrupt enabled.<br />

Transmit message buffer: Normal message transmission completion interrupt enabled.<br />

Remark m = 0 to 15

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

Saved successfully!

Ooh no, something went wrong!