STM32W108HBU6 STMicroelectronics, STM32W108HBU6 Datasheet - Page 55
STM32W108HBU6
Manufacturer Part Number
STM32W108HBU6
Description
Manufacturer
STMicroelectronics
Datasheet
1.STM32W108HBU6.pdf
(208 pages)
Specifications of STM32W108HBU6
Operating Temperature (min)
-40C
Operating Temperature (max)
85C
Processing Unit
Microprocessor
Operating Supply Voltage (min)
1.18V
Operating Supply Voltage (typ)
1.25V
Operating Supply Voltage (max)
1.32V
Package Type
VFQFPN EP
Pin Count
40
Mounting
Surface Mount
Rad Hardened
No
Lead Free Status / Rohs Status
Supplier Unconfirmed
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
STM32W108HBU63
Manufacturer:
ST
Quantity:
201
Company:
Part Number:
STM32W108HBU64TR
Manufacturer:
TDK
Quantity:
30 000
STM32W108CB, STM32W108HB
8.1
8.1.1
Note:
8.1.2
Functional description
GPIO ports
The 24 GPIO pins are grouped into three ports: PA, PB, and PC. Individual GPIOs within a
port are numbered 0 to 7 according to their bit positions within the GPIO registers.
Because GPIO port registers' functions are identical, the notation Px is used here to refer to
PA, PB, or PC. For example, GPIO_PxIN refers to the registers GPIO_PAIN, GPIO_PBIN,
and GPIO_PCIN.
Each of the three GPIO ports has the following registers whose low-order eight bits
correspond to the port's eight GPIO pins:
●
●
●
●
●
In addition to these registers, each port has a pair of configuration registers,
GPIO_PxCFGH and GPIO_PxCFGL. These registers specify the basic operating mode for
the port's pins. GPIO_PxCFGL configures the pins Px[3:0] and GPIO_PxCFGH configures
the pins Px[7:4]. For brevity, the notation GPIO_PxCFGH/L refers to the pair of configuration
registers.
Five GPIO pins (PA6, PA7, PB6, PB7 and PC0) can sink and source higher current than
standard GPIO outputs. Refer to
information.
Configuration
Each pin has a 4-bit configuration value in the GPIO_PxCFGH/L register. The various GPIO
modes and their 4 bit configuration values are shown in
Table 6.
Analog
Input (floating)
Input (pull-up or pull-
down)
Output (push-pull)
Output (open-drain)
Alternate Output (push-
pull)
GPIO_PxIN (input data register) returns the pin level (unless in analog mode).
GPIO_PxOUT (output data register) controls the output level in normal output mode.
GPIO_PxCLR (clear output data register) clears bits in GPIO_PxOUT.
GPIO_PxSET (set output data register) sets bits in GPIO_PxOUT.
GPIO_PxWAKE (wake monitor register) specifies the pins that can wake the
STM32W108.
GPIO Mode
GPIO configuration modes
GPIO_PxCFGH/L
Doc ID 16252 Rev 7
0x0
0x4
0x8
0x1
0x5
0x9
Table 53: Digital I/O characteristics on page 197
Analog input or output. When in analog mode, the
digital input (GPIO_PxIN) always reads 1.
Digital input without an internal pull up or pull down.
Output is disabled.
Digital input with an internal pull up or pull down. A set
bit in GPIO_PxOUT selects pull up and a cleared bit
selects pull down. Output is disabled.
Push-pull output. GPIO_PxOUT controls the output.
Open-drain output. GPIO_PxOUT controls the output.
If a pull up is required, it must be external.
Push-pull output. An onboard peripheral controls the
output.
Table
General-purpose input/outputs
Description
6.
for more
55/208