November 2009 Doc ID 15449 Rev 2 1/23
CEC (consumer electronic control) C library using the
STM32F101xx, STM32F102xx and STM32F103xx microcontrollers
This user manual describes the CEC library using the STM32F10xxx microcontroller family.
Consumer electronic control (CEC) is a feature of the HDMI interface 1.3 standard (high
definition multimedia interface), which is used to transmit audio/video data for multimedia
consumer products such as HDTV, DVDs, satellite receivers etc.
This library contains the following functions for a basic CEC communication:
■ Send/Receive CEC Start bit
■ Send/Receive CEC ACK bit “logical 0”
■ Send/Receive CEC data bit
■ Send/Receive CEC data byte
■ Send/Receive CEC data frame
Note that the provided CEC library supports only messages addressed to a single device
and not broadcast messages (please refer to HDMI - CEC specification).