UM0501
Demo firmware architecture
Doc ID 14320 Rev 3
21/23
5
Demo firmware architecture
This section describes the demo firmware architecture. It is divided into two parts.
●
Library
: contains the firmware library source files. These files do not need to be
modified by the user.
●
Application
: contains the specific files of the demonstration firmware that can be
modified.
–
stm8s_conf
.
h
: this header file is used to configure the library
–
stm8s_it.h
: header for the
stm8s_it.c
file
–
stm8s_it.c
: this file provides all the interrupt sub-routines
–
stm8_interrupt_vector.c
: this file provides the interrupt vector table
–
demo_xxx.h
: header for the demo_
xxx.c
file
–
demo_xxx.c
: this file provides all functions related to the xxx demo
–
functions.h
: header for the
functions.c
file
–
functions.c
: this file provides miscellaneous functions.
–
joystick_button.h
: header for the
joystick_button.c
file
–
joystick_button.c
: this file provides all functions related to the management of the
joystick and button
–
mono_lcd.h
: header for the mono_
lcd.c
file
–
mono_lcd.c
: this file provides LCD management functions
–
main.h
: header for the
main.c
file
–
main.c
: this file provides the main function
–
menu.h
: header for the
menu.c
file
–
menu.c
: this file provides menu functions and menu definition