
Simple Media Access Controller (SMAC) for the HCS08 Reference Manual, Rev. 2.0
Freescale Semiconductor
2-1
Chapter 2
Software Architecture
This chapter describes the SMAC software architecture. In this version of the SMAC, all of the SMAC
source code is included in the application. This represents a far less complex project that can be compiled
using CodeWarrior Special Edition.
2.1
Block Diagram
Figure 2-1
shows the SMAC block diagram. As shown in
Figure 2-1
, the various SMAC software
components also specify the implemented file names.
•
Security Module
Figure 2-1. SMAC Layer Diagram
The Security modules and its API are included in the BeeKit project when the corresponding SMAC
BeeKit property is set to “True”:
An API is implemented in the SMAC as a C header file (
.h
) that allows access to the code. The code
includes the API to specific functions. So, the application interface with the SMAC is accomplished by
including the
SMAC_Interface.h
file, which makes references to the required functions within the SMAC
and provides the application with SMAC functionality.