
Software Architecture
Simple Media Access Controller (SMAC) for the HCS08 Reference Manual, Rev. 2.0
2-6
Freescale Semiconductor
gChannel24_c,
gChannel25_c,
gChannel26_c,
gTotalChannels_c
}channels_t;
Members
gChannelXX_c
Constant used to refer the IEEE 802.15.4 channel XX
gTotalChannels_c
Constant indicates the total number of channels.
2.3.7
clkoFrequency_t
This enumeration list all the possible clock output frequencies and is located in the
SMAC_Interface.h
file.
It is defined as follows:
typedef enum clkoFrequency_tag{
gClko16MHz_c,
gClko8MHz_c,
gClko4MHz_c,
gClko2MHz_c,
gClko1MHz_c,
gClko62p5kHz_c,
gClko32p786kHz_c,
gClko16p393kHz_c,
gClkoOutOfRange_c
}clkoFrequency_t;
Members
gClko[XY]Hz_c
Constant used to indicate a [XY] Hz clock output.
gClkoOutOfRange_c
Constant indicates the total number of possible clock output valid selections.
2.3.8
scanModes_t
This enumeration list all the scanning methods available on SMAC and is located in the
SMAC_Interface.h
file. It is defined as follows:
typedef enum scanModes_tag{
gScanModeCCA_c,
gScanModeED_c,
gMaxScanMode_c
}scanModes_t;
Members
gScanModeCCA_c
Constant used to indicate a CCA scan mode, that is comparing actual energy level
against a defined threshold and binary reporting it bit mapped on a 16 bit variable.
gScanModeED_c
Constant used to indicate a ED scan mode, that is reading the actual energy level
and storing such value on a 8 bits variable.
gMaxScanMode_c
Constant indicates the total number of possible scan methods available at SMAC.