Chapter 2
Software Architecture
This chapter describes the MKW01 SMAC software architecture. All of the SMAC source code is always
included in the application. SMAC is primarily a set of utility functions or building blocks that users can
use to build simple communication applications.
2.1
Block Diagram
Figure 2-1
shows a simplified MKW01 SMAC based stack block diagram.
Figure 2-1. SMAC System Decomposition
An application programming interface (API) is implemented in the MKW01 SMAC as a C header file (
)
.h
that allows access to the code. The code includes the API to specific functions. Thus, the application
interface with the SMAC is accomplished by including the
file, which makes reference
SMAC_Interface.h
to the required functions within the SMAC and provides the application with desired functionality.
MKW01 Simple Media Access Controller (SMAC) Reference Manual, Rev. 0.0
Freescale Semiconductor
2-9