ST7263 STMICROELECTRONICS [STMicroelectronics], ST7263 Datasheet - Page 31
ST7263
Manufacturer Part Number
ST7263
Description
LOW SPEED USB 8-BIT MCU FAMILY with up to 16K MEMORY, up to 512 BYTES RAM, 8-BIT ADC, WDG, TIMER, SCI & I2C
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
1.ST7263.pdf
(109 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ST72632K2M1
Manufacturer:
NSC
Quantity:
3 600
I/O PORTS (Cont’d)
5.1.7 Register Description
DATA REGISTERS (PxDR)
Port A Data Register (PADR): 0000h
Port B Data Register (PBDR): 0002h
Port C Data Register (PCDR): 0004h
Read /Write
Reset Value Port A: 0000 0000 (00h)
Reset Value Port B: 0000 0000 (00h)
Reset Value Port C: 1111 x000 (FXh)
Note: for Port C, unused bits (7-3) are not acces-
sible.
Bit 7:0 = D7-D0 Data Register 8 bits.
The DR register has a specific behaviour accord-
ing to the selected input/output configuration. Writ-
ing the DR register is always taken in account
even if the pin is configured as an input. Reading
the DR register returns either the DR register latch
content (pin configured as output) or the digital val-
ue applied to the I/O pin (pin configured as input).
Table 13. I/O Ports Register Map
Address
D7
(Hex.)
7
00
01
02
03
04
05
D6
Register
PADDR
PBDDR
PCDDR
Label
PADR
PBDR
PCDR
D5
D4
MSB
MSB
MSB
MSB
MSB
MSB
D3
7
D2
6
D1
D0
0
5
DATA DIRECTION REGISTER (PxDDR)
Port A Data Direction Register (PADDR): 0001h
Port B Data Direction Register (PBDDR): 0003h
Port C Data Direction Register (PCDDR): 0005h
Read/Write
Reset Value Port A: 0000 0000 (00h)
Reset Value Port B: 0000 0000 (00h)
Reset Value Port C: 1111 x000 (FXh)
Note: for Port C, unused bits (7-3) are not acces-
sible
Bit 7:0 = DD7-DD0 Data Direction Register 8 bits.
The DDR register gives the input/output direction
configuration of the pins. Each bits is set and
cleared by software.
0: Input mode
1: Output mode
DD7
7
4
DD6
DD5
3
DD4
2
DD3
DD2
1
DD1
ST7263
LSB
LSB
LSB
LSB
LSB
LSB
31/109
0
DD0
0