ST72651AR6 STMicroelectronics, ST72651AR6 Datasheet - Page 49

no-image

ST72651AR6

Manufacturer Part Number
ST72651AR6
Description
LOW-POWER, FULL-SPEED USB 8-BIT MCU WITH 32K FLASH, 5K RAM, FLASH CARD I/F, TIMER, PWM, ADC, I2C, SPI
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST72651AR6

Dual Supply Management
analog voltage detector on the USB power line to enable smart power switching from USB power to battery (on E suffix devices).
Programmable Internal Voltage Regulator For Memory Cards (2.8v To 3.5v) Supplying
Flash Card I/O lines (voltage shifting)
5 Usb Endpoints
1 control endpoint
Dtc (data Transfer Coprocessor)
Universal Serial/Parallel communications interface, with software plug-ins for current and future protocol standards

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST72651AR6T1/NYM
Manufacturer:
ST
0
Company:
Part Number:
ST72651AR6T1/NYM
Quantity:
960
Company:
Part Number:
ST72651AR6T1/NYM
Quantity:
960
I/O PORTS (Cont’d)
9.2.5 Bit manipulation on Open Drain Outputs
As mentioned in
avoid using bit manipulation instructions on the DR
register in open drain output mode, but must al-
ways access it using byte instructions. If bit manip-
ulation is needed, the solution is to use a copy of
the DR register in RAM, change the bits (using
BRES or BCLR instructions for example) and copy
the whole byte into the DR register each time the
value has to be output on a port. This way, no bit
manipulation is performed on the DR register but
each bit of the DR register can be controlled sepa-
rately.
9.3 I/O PORT IMPLEMENTATION
The hardware implementation on each I/O port de-
pends on the settings in the DDR and OR registers
and specific feature of the I/O port such as ADC In-
put or true open drain.
Port B (without Option Register)
PB[7:0]
Table 14. Port Configuration (with Option Register)
floating input
push-pull output
Port A
Port C
Port D
Port E
Port F
Port
PA7:0
PC7:4
PC3:0
PD7:0
PE7:6
PE5
PE4:3
PE2:0
PF6:4
PF3:2
PF1:0
Pin name
MODE
Section
9.2.2, software should
OR = 0
floating
floating
floating
floating
floating
floating
floating
floating
floating
floating
floating
Input
with pull-up, if se-
byte see
lected by option
DDR
with interrupt
with interrupt
with interrupt
with interrupt
0
1
Doc ID 7215 Rev 4
OR = 1
floating
floating
floating
floating
15.1)
Section
Switching these I/O ports from one state to anoth-
er should be done in a sequence that prevents un-
wanted side effects. Recommended safe transi-
tions are illustrated in
are potentially risky and should be avoided, since
they are likely to present unwanted side-effects
such as spurious interrupt generation.
Figure 32. Interrupt I/O Port State Transitions
The I/O port register configurations are summa-
rized as follows.
floating/pull-up
see
ed by option byte
pull-up, if select-
open drain (with
interrupt
INPUT
open drain
open drain
01
open drain
open drain
open drain
Section
OR = 0
True open drain
True open drain
15.1)
push-pull
push-pull
push-pull
(reset state)
floating
INPUT
00
push-pull
push-pull
push-pull
push-pull
push-pull
push-pull
Figure 32
Output
OR = 1
open-drain
OUTPUT
10
XX
Other transitions
ST72651AR6
= DDR, OR
High-Sink
OUTPUT
push-pull
Yes
Yes
Yes
Yes
Yes
Yes
No
No
No
No
No
11
49/161
1

Related parts for ST72651AR6