|
AN452 Datasheet, PDF (3/26 Pages) Silicon Laboratories – WIRELESS M-BUS STACK PROGRAMMERS GUIDE | |||
|
◁ |
AN452
ï® Each module includes an API header file with public function prototypes.
ï¬ï MbusLink.h
ï¬ï MbusPhy.h
ï® Module public bits and variables are declared external in the module header file.
ï® Public variables are bit or byte only, or qualified using a binary semaphore.
ï® Public variables are used sparingly.
ï® No module includes external variables from another module
ï® Public variable declarations and internal prototypes are located in the module source file.
ï® Hardware-specific macros and bit definitions are located in a hardware_defs.h header file.
ï® Compile time build options, memory specifiers macros, and buffer size macros are located in the
module _defs.h files.
ï® Function parameters passed as inputs may be indicated using __in, and parameters passed as outputs may be
indicated using __out.
Rev. 0.1
3
|
▷ |