Datasheet

Functional overview STM32F051x
20/22 Doc ID 018746 Rev 2
3.16 High-definition multimedia interface (HDMI) - consumer
electronics control (CEC)
The device embeds a HDMI-CEC controller that provides hardware support for the
Consumer Electronics Control (CEC) protocol (Supplement 1 to the HDMI standard).
This protocol provides high-level control functions between all audiovisual products in an
environment. It is specified to operate at low speeds with minimum processing and memory
overhead. It has a clock domain independent from the CPU clock, allowing the HDMI_CEC
controller to wakeup the MCU from Stop mode on data reception.
3.17 General-purpose inputs/outputs (GPIOs)
Each of the GPIO pins can be configured by software as output (push-pull or open-drain), as
input (with or without pull-up or pull-down) or as peripheral alternate function. Most of the
GPIO pins are shared with digital or analog alternate functions.
The I/O configuration can be locked if needed following a specific sequence in order to avoid
spurious writing to the I/Os registers.
3.18 Touch sensing controller (TSC)
The device has an embedded independent hardware controller (TSC) for controlling touch
sensing acquisitions on the I/Os.
Up to 18 touch sensing electrodes can be controlled by the TSC. The touch sensing I/Os are
organized in 6 acquisition groups, with up to 4 I/Os in each group.
Table 8. Capacitive sensing GPIOs available on STM32F051x devices
Group
Capacitive sensing
signal name
Pin
name
Group
Capacitive sensing
signal name
Pin
name
1
TSC_G1_IO1 PA0
4
TSC_G4_IO1 PA9
TSC_G1_IO2 PA1 TSC_G4_IO2 PA10
TSC_G1_IO3 PA2 TSC_G4_IO3 PA11
TSC_G1_IO4 PA3 TSC_G4_IO4 PA12
2
TSC_G2_IO1 PA4
5
TSC_G5_IO1 PB3
TSC_G2_IO2 PA5 TSC_G5_IO2 PB4
TSC_G2_IO3 PA6 TSC_G5_IO3 PB6
TSC_G2_IO4 PA7 TSC_G5_IO4 PB7
3
TSC_G3_IO1 PB0
6
TSC_G6_IO1 PB11
TSC_G3_IO2 PB1 TSC_G6_IO2 PB12
TSC_G3_IO3 PB2 TSC_G6_IO3 PB13
TSC_G3_IO4 PC5 TSC_G6_IO4 PB14