Firmware description
Project folder: contains preconfigured projects and the source and header files of the CEC
demonstration
●
src subfolder: contains the source files
–
–
–
●
inc subfolder: contains the header files
–
–
–
●
EWARMv5, RVMDK, HiTOP and RIDE subfolders: contain tool-dependent
preconfigured projects and workspaces
Utilities folder: STM32_EVAL implement an abstraction layer that interacts with the human
interface resources-buttons, LEDs, LCD and COM ports (USARTs)-available on the
STMicroelectronics Value line evaluation boards
The stm32_eval.c driver provides a common API to interact with buttons, LEDs and COM
ports, while the definitions of these hardware resources are made in the header file of the
Value line evaluation board (stm32100b_eval.h or stm32100e_eval.h).
Moreover, a common API is provided to manage the LCD (stm32100b_eval_lcd.c or
stm32100e_eval_lcd.c).
Likewise, a full firmware API is provided to manage the Value line board's HDMI-CEC
(stm32100b_eval_cec.c or stm32100e_eval_cec.c). See
list of the functions.
3.2
Firmware architecture
Figure 16
below.
24/36
main.c: file in which the system clocks and interrupts are configured
stm32f10x_it.c: file in which the CEC events (transmitter/receiver) and error
(acknowledge failure, bus error, overrun, arbitration loss) interrupts are handled.
cec_display.c: displays the CEC demonstration messages on the LCD of Value
line Evaluation board, or on HyperTerminal
stm32f10x_it.h: headers of the interrupt handlers
stm32f10x_conf.h: configuration file
cec_display.h: header file of cec.display.c
shows the firmware architecture, the different blocks and levels are explained
Doc ID 16896 Rev 2
Table 4: High-level functions
AN3127
for a
Need help?
Do you have a question about the STM32F100 Series and is the answer not in the manual?
Questions and answers