
Primitives
Simple Media Access Controller (SMAC) for the HCS08 Reference Manual, Rev. 2.0
3-20
Freescale Semiconductor
3.1.26
SMACEnableInterrupts
This function enables the interrupts that are used by SMAC (see
Section 3.1.25,
“SMACDisableInterrupts
”).
Prototype
void SMACEnableInterrupts(void);
Arguments
None
Returns
Nothing
Usage
Call this function to allow SMAC to enable interrupts.
3.1.27
MCPSDataComfirm
This function is executed when a transmission operation finishes, this is a callback function that the
application should implement.
Prototype
void MCPSDataComfirm(txStatus_t);
Arguments
txStatus_t
This indicates the status of the transmission operation
Returns
Nothing
Usage
This callback function must be executed once a transmission operation is completed; successful or not. Use
txStatus_t
argument to define the application execution path.
NOTE
This function is executed as part of an interrupt service routine, as a result
follow all the recommendations for interrupt execution timing and context.