UPD78F0838 Renesas Electronics Corporation., UPD78F0838 Datasheet - Page 566

no-image

UPD78F0838

Manufacturer Part Number
UPD78F0838
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
15.6 Bit Set/Clear Function
interface. An operation error occurs if the following registers are written directly. Do not write any values directly via
bit manipulation, read/modify/write, or direct writing of target values.
23 below to set or clear the lower 8 bits in these registers.
the 16-bit data after a write operation in Figure 15-24). Figure 15-23 shows how the values of set bits or clear bits
relate to set/clear/no change operations in the corresponding register.
564
The CAN control registers include registers whose bits can be set or cleared via the CPU and via the CAN
All the 16 bits in the above registers can be read via the usual method. Use the procedure described in Figure 15-
Setting or clearing of lower 8 bits in the above registers is performed in combination with the higher 8 bits (refer to
Register’s current values
Remark m = 0 to 15
CAN global control register (C0GMCTRL)
CAN global automatic block transmission control register (C0GMABT)
CAN module control register (C0CTRL)
CAN module interrupt enable register (C0IE)
CAN module interrupt status register (C0INTS)
CAN module receive history list register (C0RGPT)
CAN module transmit history list register (C0TGPT)
CAN module time stamp register (C0TS)
CAN message control register (C0MCTRLm)
Register’s value after
write operations
Write values
Figure 15-23. Example of Bit Setting/Clearing Operations
0
0
0
Preliminary User’s Manual U19748EJ1V0UD
CHAPTER 15 CAN CONTROLLER
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
clear 1
set
0
1
0
1
1
0
0
1
1
0
1
0
0
0
0
0
0
1
1
0
1
0
0
1
1
1
0
0
0
0
0
0
0
0
1
0
1
1
0
1
0
1

Related parts for UPD78F0838