Configuration of Start-of-Frame Delimiter

SET_SFD

The radio transceiver prepends each transmitted frame with the SHR (4 byte preamble, 1 byte SFD) automatically. For proprietary applications the start-of-frame delimiter can be configured with the parameter sfd.

Parameters:
sfd The SFD value, which is currently used for transmit and receive operation.
Note:

>>  Transmitter and receiver have to be configured with the same SFD value.
>>  In order to ensure a reliable frame start detection, the lower 4 bits of the SFD value shall not be set to 0.
inline_mscgraph_113
Code example
    /* AT86RF212::[CONFIG] */
    trx_reg_write(RG_SFD_VALUE, sfd);

GET_SFD

The currently configured SFD value can be read using this sequence.

Returns:
sfd The desired SFD.
inline_mscgraph_114
Code example
    /* AT86RF212::[CONFIG] */
    sfd = trx_reg_read(RG_SFD_VALUE);

Generated on Mon Aug 17 13:35:02 2009 for SWPM AT86RF212 by  doxygen 1.5.6