Chengdu Ebyte Electronic Technology Co.,Ltd.
E30-900MBL-01 User Manua
l
Copyright ©2012–2019
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
11
more situations.
ebyte_exx.h
Some conventional modulation parameters are defined, which generally do not need
to be modified, and can be adjusted by themselves. Note that when modifying, please
understand the explanation in the comment. There is a range check for the parameters in
the module driver, and the wrong modulation parameter will cause the initialization to fail.
The following figure shows FSK modulation parameters:
board.c
STM8 peripheral initialization, involving SPI, TIMER, GPIO, etc., is strongly coupled
with the hardware used.
board_button.c
The key event queue is a FIFO in terms of data structure. After the timer detects the
button, it will store the corresponding event in the queue and wait for the main loop to
respond.
board_mini_printf.c Simplified printf, although the function is reduced, but it takes up a small volume. The
DEBUG macro in the project mainly depends on the mprintf provided by this file.
ebyte_kfifo.c
Used for serial port data reception, optimized general-purpose FIFO queue, suitable for
high-speed cache.
ebyte_debug.c
It is used to connect to a PC for some tests and generally does not need to be used.
stm8l15x_it.c
All interrupt function entrances will focus on the interrupt service functions such as serial
port, timer, button IO, etc.