DF2266TF13V Renesas Electronics America, DF2266TF13V Datasheet - Page 103
DF2266TF13V
Manufacturer Part Number
DF2266TF13V
Description
IC H8S/2266 MCU FLASH 100-TQFP
Manufacturer
Renesas Electronics America
Series
H8® H8S/2200r
Datasheet
1.DF2266TF20V.pdf
(712 pages)
Specifications of DF2266TF13V
Core Processor
H8S/2000
Core Size
16-Bit
Speed
13MHz
Connectivity
I²C, SCI, SmartCard
Peripherals
LCD, POR, PWM, WDT
Number Of I /o
67
Program Memory Size
128KB (128K x 8)
Program Memory Type
FLASH
Ram Size
8K x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Data Converters
A/D 10x10b
Oscillator Type
Internal
Operating Temperature
-20°C ~ 75°C
Package / Case
100-TQFP, 100-VQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
- Current page: 103 of 712
- Download datasheet (5Mb)
2.9.4
A read value from a write-only bit using a data-transfer or a bit-manipulation instruction is
undefined. To avoid using the read value for subsequent operations, follow the procedure shown
below to access registers that include write-only bits.
When writing to registers that include write-only bits, set up a work area in memory such as on-
chip RAM, write the data to the work area, read the data back from the memory, and then write
the data to the registers that include write-only bits.
I/O
P1DDR
After bit-
manipulation
I/O
P1DDR
Write value
The target bit of the data read out is then manipulated. In this example, clearing bit 4 of H'F8
leaves us with H'E8.
After the bit-manipulation, The data is then written back to P1DDR, and execution of the
BCLR instruction is complete.
This instruction was meant to change the value of P1DDR to H'E0, but H'E8 was written back
instead. P13, which should be an input pin, has been turned into an output pin. Note that while
the error in this case occurred because bit 3 in P1DDR was read as 1, the values read from bits
7 to 0 in P1DDR are undefined. Bit-manipulation instructions that write back values might
change any bit from 0 to 1 or 1 to 0. Section 2.9.4, Access Method for Registers with Write-
Only Bits, describes a way to avoid this possibility when changing the values of registers that
include write-only bits.
The BCLR instruction can be used to clear flags in the internal I/O registers to 0. In this case,
if it is obvious that a given flag has been set to 1 because an interrupt handler has been entered,
there is no need to read the flag .
Access Method for Registers with Write-Only Bits
Output
Output
P17
P17
1
1
1
1
Output
Output
P16
P16
1
1
1
1
Output
Output
P15
P15
1
1
1
1
Output
Input
P14
P14
1
0
0
0
Rev. 5.00 Sep. 01, 2009 Page 51 of 656
Output
Input
P13
P13
0
1
1
1
Input
Input
P12
P12
0
0
0
0
REJ09B0071-0500
Input
Input
P11
P11
0
0
0
0
Section 2 CPU
Input
Input
P10
P10
0
0
0
0
Related parts for DF2266TF13V
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
CONN SOCKET 2POS 7.92MM WHITE
Manufacturer:
Hirose Electric Co Ltd
Datasheet:
Part Number:
Description:
CONN SOCKET 4POS 7.92MM WHITE
Manufacturer:
Hirose Electric Co Ltd
Datasheet:
Part Number:
Description:
CONN SOCKET 5POS 7.92MM WHITE
Manufacturer:
Hirose Electric Co Ltd
Datasheet:
Part Number:
Description:
CONN SOCKET 3POS 7.92MM WHITE
Manufacturer:
Hirose Electric Co Ltd
Datasheet:
Part Number:
Description:
CONN SOCKET 5POS 7.92MM WHITE
Manufacturer:
Hirose Electric Co Ltd
Datasheet:
Part Number:
Description:
CONN SOCKET 2POS 7.92MM WHITE
Manufacturer:
Hirose Electric Co Ltd
Datasheet:
Part Number:
Description:
CONN SOCKET 3POS 7.92MM WHITE
Manufacturer:
Hirose Electric Co Ltd
Datasheet:
Part Number:
Description:
CONN SOCKET 4POS 7.92MM WHITE
Manufacturer:
Hirose Electric Co Ltd
Datasheet:
Part Number:
Description:
CONN HEADER 2POS 7.92MM R/A TIN
Manufacturer:
Hirose Electric Co Ltd
Datasheet:
Part Number:
Description:
CONN HEADER 4POS 7.92MM R/A TIN
Manufacturer:
Hirose Electric Co Ltd
Datasheet:
Part Number:
Description:
KIT STARTER FOR M16C/29
Manufacturer:
Renesas Electronics America
Datasheet:
Part Number:
Description:
KIT STARTER FOR R8C/2D
Manufacturer:
Renesas Electronics America
Datasheet:
Part Number:
Description:
R0K33062P STARTER KIT
Manufacturer:
Renesas Electronics America
Datasheet:
Part Number:
Description:
KIT STARTER FOR R8C/23 E8A
Manufacturer:
Renesas Electronics America
Datasheet:
Part Number:
Description:
KIT STARTER FOR R8C/25
Manufacturer:
Renesas Electronics America
Datasheet: