beautypg.com

9 message buffer valid register (bvalr), Message buffer valid register (bvalr), Register function – FUJITSU F2MCTM-16LX User Manual

Page 481

background image

465

21.4.9

Message Buffer Valid Register (BVALR)

Message buffer valid register (BVALR) stores the validity of the message buffers or
displays their state.

Register Configuration

Figure 21.4-9 Configuration of the Message Buffer Valid Register (BVALR)

Register Function

0: Message buffer (x) invalid

1: Message buffer (x) valid

If the message buffer (x) is set to invalid, it will not transmit or receive messages.

If the buffer is set to invalid during transmission operating, it becomes invalid (BVALx = 0) after the

transmission is completed or terminated by an error.

If the buffer is set to invalid during reception operating, it immediately becomes invalid (BVALx = 0). If

received messages are stored in a message buffer (x), the message buffer (x) is invalid after storing the

messages.

Notes:

x indicates a message buffer number (x = 0 to 15).

When invaliding a message buffer (x) by writing 0 to a bit (BVALx), execution of a bit manipulation
instruction is prohibited until the bit is set to 0.

To invalidate the message buffer (by setting the BVALR: BVAL bit to 0) while the CAN controller is
operating for CAN communication (the read value of the CSR: HALT bit is 0 and the CAN controller is
operating for CAN bus communication to enable transmission and reception), follow the procedure in
"21.13 Precautions when Using CAN Controller".

Address

bit15

bit14

bit13

bit12

bit11

bit10

bit9

bit8

BVRLR1(Upper)

CAN1:

000081

H

BVAL15

BVAL14

BVAL13

BVAL12

BVAL11

BVAL10

BVAL9

BVAL8

Reset value
0 0 0 0 0 0 0 0

B

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

Address

bit7

bit6

bit5

bit4

bit3

bit2

bit1

bit0

BVRLR1(Lower)

CAN1:

000080

H

BVAL7

BVAL6

BVAL5

BVAL4

BVAL3

BVAL2

BVAL1

BVAL0

Reset value
0 0 0 0 0 0 0 0

B

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W : Read/Write