Usage Precaution; Sfr - Renesas M16C/6NK Hardware Manual

16-bit single-chip microcomputer m16c family / m16c/60 series
Table of Contents

Advertisement

Under development
This document is under development and its contents are subject to change.
M16C/6N Group (M16C/6NK, M16C/6NM)

23. Usage Precaution

23.1 SFR

There is the SFR which can not be read (containg bits that will result in unknown data when read).
Please set these registers to their previous values with the instructions other than the read modify write
instructions.
Table 23.1 lists the registers contain bits that will result in unknown data when read and Table 23.2 lists the
instruction table for read modify write.
Table 23.1 Registers Contain Bits that Will Result in Unknown Data When Read
Register Name
Timer A1-1 Register
Timer A2-1 Register
Timer A4-1 Register
Dead Time Timer
Timer B2 Interrupt Occurrences Frequency Set Counter
SI/O6 Bit Rate Generator
SI/O3 Bit Rate Generator
SI/O4 Bit Rate Generator
SI/O5 Bit Rate Generator
UART2 Bit Rate Generator
UART2 Transmit Buffer Register
Up-Down Flag
(3)
Timer A0 Register
(1) (3)
Timer A1 Register
(1) (3)
Timer A2 Register
(3)
Timer A3 Register
(1) (3)
Timer A4 Register
UART0 Bit Rate Generator
UART0 Transmit Buffer Register
UART1 Bit Rate Generator
UART1 Transmit Buffer Register
NOTES:
1. It is affected only in three-phase motor control timer function.
2. These registers are only in the 128-pin version.
3. It is affected only in one-shot timer mode and pulse width modulation mode.
Table 23.2 Instruction Table for Read Modify Write
Function
Bit Manipulation
Shift
Arithmetic
Logical
Jump
Rev.2.00
Nov 28, 2005
REJ09B0124-0200
(1)
(1)
(1)
(2)
(2)
BCLR, BNOT, BSET, BTSTC, BTSTS
RCLC, RORC, ROT, SHA, SHL
ABS, ADC, ADCF, ADD, DEC, EXTS, INC, MUL, MULU, NEG, SBB, SUB
AND, NOT, OR, XOR
ADJNZ, SBJNZ
page 338 of 378
Symbol
TA11
TA21
TA41
DTT
ICTB2
S6BRG
S3BRG
S4BRG
S5BRG
U2BRG
U2TB
UDF
TA0
TA1
TA2
TA3
TA4
U0BRG
U0TB
U1BRG
U1TB
Mnemonic
23. Usage Precaution
Address
01C3h, 01C2h
01C5h, 01C4h
01C7h, 01C6h
01CCh
01CDh
01D9h
01E3h
01E7h
01EBh
01F9h
01FBh, 01FAh
0384h
0387h, 0386h
0389h, 0388h
038Bh, 038Ah
038Dh, 038Ch
038Fh, 038Eh
03A1h
03A3h, 03A2h
03A9h
03ABh, 03AAh

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/6nm

Table of Contents