Mlmesetpreamblelength; Mlmesetsyncwordsize; Mlmesetsyncwordvalue - NXP Semiconductors MKW01 Reference Manual

Simple media access controller (smac)
Table of Contents

Advertisement

Primitives
3.13

MLMESetPreambleLength

This function updates the number of repetitions the preamble has.
Arguments
uint16_t u16preambleLength The new value of the number of preamble repetitions.
Returns
gErrorNoValidCondition_c
gErrorBusy_c
gErrorNoError_c
Usage
Call the function. The application can store the return value in a smacErrors_t variable and handle the error
in case it occurs. For example, if the return value is gErrorBusy_c, the application can wait on this value
until SMAC becomes idle.
3.14

MLMESetSyncWordSize

This function updates the size of the synchronization word (maximum 8 bytes).
Arguments
uint8_t u8syncWordSize
Returns
gErrorNoValidCondition_c
gErrorBusy_c
gErrorOutOfRange_c
gErrorNoError_c
Usage
Call the function. The application can store the return value in a smacErrors_t variable and handle the error
in case it occurs. For example, if the return value is gErrorBusy_c, the application can wait on this value
until SMAC becomes idle.
3.15

MLMESetSyncWordValue

This function updates the value of the synchronization word.
MKW01 Simple Media Access Controller (SMAC) Reference Manual, Rev. 0.0
3-30
SMAC was not initialized.
SMAC is busy and cannot process the request.
The request was processed.
The size in bytes of the synchronization word.
SMAC was not initialized.
SMAC is busy and cannot process the request.
The requested size is outside the valid range.
The request was processed.
Freescale Semiconductor

Advertisement

Table of Contents
loading

Table of Contents