Datasheet

R01DS0032EJ0200 Rev.2.00 Page 38 of 88
Feb 07, 2011
M16C/64A Group 4. Special Function Registers (SFRs)
4.2 Notes on SFRs
4.2.1 Register Settings
Table 4.19 lists Registers with Write-Only Bits and registers whose function differs between reading and
writing. Set these registers with immediate values. Do not use read-modify-write instructions. When
establishing the next value by altering the existing value, write the existing value to the RAM as well as
to the register. Transfer the next value to the register after making changes in the RAM.
Read-modify-write instructions can be used when writing to the no register bits.
Table 4.19 Registers with Write-Only Bits
Address Register Symbol
0249h UART0 Bit Rate Register U0BRG
024Bh to 024Ah UART0 Transmit Buffer Register U0TB
0259h UART1 Bit Rate Register U1BRG
025Bh to 025Ah UART1 Transmit Buffer Register U1TB
0269h UART2 Bit Rate Register U2BRG
026Bh to 026Ah UART2 Transmit Buffer Register U2TB
0273h SI/O3 Bit Rate Register S3BRG
0277h SI/O4 Bit Rate Register S4BRG
0289h UART5 Bit Rate Register U5BRG
028Bh to 028Ah UART5 Transmit Buffer Register U5TB
0299h UART6 Bit Rate Register U6BRG
029Bh to 029Ah UART6 Transmit Buffer Register U6TB
02A9h UART7 Bit Rate Register U7BRG
02ABh to 02AAh UART7 Transmit Buffer Register U7TB
02B6h I2C0 Control Register 1 S3D0
02B8h I2C0 Status Register 0 S10
0303h to 0302h Timer A1-1 Register TA11
0305h to 0304h Timer A2-1 Register TA21
0307h to 0306h Timer A4-1 Register TA41
030Ah Three-Phase Output Buffer Register 0 IDB0
030Bh Three-Phase Output Buffer Register 1 IDB1
030Ch Dead Time Timer DTT
030Dh Timer B2 Interrupt Generation Frequency Set Counter ICTB2
0327h to 0326h Timer A0 Register TA0
0329h to 0328h Timer A1 Register TA1
032Bh to 032Ah Timer A2 Register TA2
032Dh to 032Ch Timer A3 Register TA3
032Fh to 032Eh Timer A4 Register TA4
037Dh Watchdog Timer Refresh Register WDTR
037Eh Watchdog Timer Start Register WDTS