Ebyte E30-780T20S User Manual page 11

Evaluation kit, new generation package compatible sub-1g wireless module
Hide thumbs Also See for E30-780T20S:
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd.
2
ebyte_exx.c
3
ebyte_port.c
ebyte_callback.c
Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
no strong coupling between the layers 。
It is a specific module driver file, which is usually packaged and does not need to be
modified by the user. You only need to consider how to input and output data from this
"box".
It is specially used to bind SPI and GPIO under different hardware platforms,
abstracted as "box" input. The user needs to fill the communication interface in his
hardware platform to a fixed position according to the comment. Generally speaking, it is
to provide the SPI transceiver function and pin level control. Some modules are slightly
special. For example, E49 uses half-duplex SPI. If you are too lazy to write a
communication driver, you can directly bind the IO to a fixed location, and leave the rest
to the module to drive its own analog IO to achieve communication. As shown in the
figure below, in the comments, it is required to provide the SPI interface location to fill in
the specific transceiver function, send the SPI to send data, and the result to return the SPI
to receive data.
It is specially used to bind the user's own sending and receiving logic, abstracted as
the output of the "box". Essentially, the module driver directly calls the user's callback
function after confirming that the sending or receiving is completed. As shown in the
figure below, just fill in the user's logic function at the To-do prompt. The state is
transmitted by the module driver, and is actually processed by the Exx_GoTransmit()
function. When the function is complicated, you can consider modifying it to support
E30-900MBL-01 User Manual
10

Advertisement

Table of Contents
loading

Table of Contents