| 
    Appiko
    
   | 
 
Functions | |
| void | S2LPCsmaInit (SCsmaInit *pxSCsmaInit) | 
| Initialize the S2LP CSMA according to the specified parameters in the SCsmaInit.  More... | |
| void | S2LPCsmaGetInfo (SCsmaInit *pxSCsmaInit) | 
| Return the fitted structure SCsmaInit starting from the registers values.  More... | |
| void | S2LPCsma (SFunctionalState xNewState) | 
| Enable or Disables the CSMA.  More... | |
| SFunctionalState | S2LPCsmaGetCsma (void) | 
| Gets the CSMA mode. Says if it is enabled or disabled.  More... | |
| void | S2LPCsmaPersistentMode (SFunctionalState xNewState) | 
| Enables or Disables the persistent CSMA mode.  More... | |
| SFunctionalState | S2LPCsmaGetPersistentMode (void) | 
| Gets the persistent CSMA mode.  More... | |
| void | S2LPCsmaSeedReloadMode (SFunctionalState xNewState) | 
| Enables or Disables the seed reload mode (if enabled it reloads the back-off generator seed using the value written in the BU_COUNTER_SEED register).  More... | |
| SFunctionalState | S2LPCsmaGetSeedReloadMode (void) | 
| Gets the seed reload mode.  More... | |
| void | S2LPCsmaSetBuCounterSeed (uint16_t nBuCounterSeed) | 
| Set the BU counter seed (BU_COUNTER_SEED register). The CSMA back off time is given by the formula: BO = rand(2^NB)*BU.  More... | |
| uint16_t | S2LPCsmaGetBuCounterSeed (void) | 
| Return the BU counter seed (BU_COUNTER_SEED register).  More... | |
| void | S2LPCsmaSetBuPrescaler (uint8_t cBuPrescaler) | 
| Set the BU prescaler. The CSMA back off time is given by the formula: BO = rand(2^NB)*BU.  More... | |
| uint8_t | S2LPCsmaGetBuPrescaler (void) | 
| Return the BU prescaler.  More... | |
| void | S2LPCsmaSetCcaPeriod (SCsmaPeriod xMultiplierTbit) | 
| Set the CCA period.  More... | |
| uint8_t | S2LPCsmaGetCcaPeriod (void) | 
| Return the CCA period.  More... | |
| void | S2LPCsmaSetCcaLength (uint8_t xCcaLength) | 
| Set the CCA length.  More... | |
| uint8_t | S2LPCsmaGetCcaLength (void) | 
| Return the CCA length.  More... | |
| void | S2LPCsmaSetMaxNumberBackoff (uint8_t cMaxNb) | 
| Set the max number of back-off. If reached S2LP stops the transmission.  More... | |
| uint8_t | S2LPCsmaGetMaxNumberBackoff (void) | 
| Return the max number of back-off.  More... | |
| void S2LPCsma | ( | SFunctionalState | xNewState | ) | 
| xNewState | the state of the CSMA mode. This parameter can be: S_ENABLE or S_DISABLE. | 
| None. | 
Definition at line 201 of file S2LP_Csma.c.
| uint16_t S2LPCsmaGetBuCounterSeed | ( | void | ) | 
| None. | 
| uint16_t | Seed of the random number generator used to apply the BBE algorithm. | 
Definition at line 365 of file S2LP_Csma.c.
References g_xStatus.
| uint8_t S2LPCsmaGetBuPrescaler | ( | void | ) | 
| None. | 
| uint8_t | Value back-off unit (BU). | 
Definition at line 400 of file S2LP_Csma.c.
References g_xStatus.
| uint8_t S2LPCsmaGetCcaLength | ( | void | ) | 
| None. | 
| uint8_t | CCA length. | 
Definition at line 472 of file S2LP_Csma.c.
References g_xStatus.
| uint8_t S2LPCsmaGetCcaPeriod | ( | void | ) | 
| None. | 
| CcaPeriod | CCA period. | 
Definition at line 436 of file S2LP_Csma.c.
References g_xStatus.
| SFunctionalState S2LPCsmaGetCsma | ( | void | ) | 
| None. | 
| SFunctionalState | CSMA mode. | 
Definition at line 231 of file S2LP_Csma.c.
References g_xStatus.
| void S2LPCsmaGetInfo | ( | SCsmaInit * | pxSCsmaInit | ) | 
| pxCsmaInit | Csma structure to be fitted. This parameter is a pointer to SCsmaInit. | 
| None. | 
Definition at line 164 of file S2LP_Csma.c.
| uint8_t S2LPCsmaGetMaxNumberBackoff | ( | void | ) | 
| None. | 
| uint8_t | Max number of back-off. | 
Definition at line 506 of file S2LP_Csma.c.
References g_xStatus.
| SFunctionalState S2LPCsmaGetPersistentMode | ( | void | ) | 
| None. | 
| SFunctionalState | CSMA persistent mode. | 
Definition at line 279 of file S2LP_Csma.c.
References g_xStatus.
| SFunctionalState S2LPCsmaGetSeedReloadMode | ( | void | ) | 
| None. | 
| SFunctionalState | CSMA seed reload mode. | 
Definition at line 326 of file S2LP_Csma.c.
References g_xStatus.
| void S2LPCsmaInit | ( | SCsmaInit * | pxCsmaInit | ) | 
| pxCsmaInit | Csma init structure. This parameter is a pointer to SCsmaInit. | 
| None. | 
Definition at line 114 of file S2LP_Csma.c.
| void S2LPCsmaPersistentMode | ( | SFunctionalState | xNewState | ) | 
| xNewState | the state of the persistent CSMA mode. This parameter can be: S_ENABLE or S_DISABLE. | 
| None. | 
Definition at line 254 of file S2LP_Csma.c.
| void S2LPCsmaSeedReloadMode | ( | SFunctionalState | xNewState | ) | 
| xNewState | the state of the seed reload mode. This parameter can be: S_ENABLE or S_DISABLE. | 
| None. | 
Definition at line 301 of file S2LP_Csma.c.
| void S2LPCsmaSetBuCounterSeed | ( | uint16_t | nBuCounterSeed | ) | 
| nBuCounterSeed | seed of the random number generator used to apply the BBE algorithm. This parameter is an uint16_t. | 
| None. | 
Definition at line 348 of file S2LP_Csma.c.
| void S2LPCsmaSetBuPrescaler | ( | uint8_t | cBuPrescaler | ) | 
| cBuPrescaler | used to program the back-off unit BU. This parameter is an uint8_t. | 
| None. | 
Definition at line 381 of file S2LP_Csma.c.
| void S2LPCsmaSetCcaLength | ( | uint8_t | xCcaLength | ) | 
| xCcaLength | the CCA length (a value between 1 and 15 that multiplies the CCA period). This parameter can be any value of CsmaLength. | 
| None. | 
Definition at line 452 of file S2LP_Csma.c.
| void S2LPCsmaSetCcaPeriod | ( | SCsmaPeriod | xMultiplierTbit | ) | 
| xMultiplierTbit | value of CCA period to store. This parameter can be a value of CcaPeriod. | 
| None. | 
Definition at line 416 of file S2LP_Csma.c.
| void S2LPCsmaSetMaxNumberBackoff | ( | uint8_t | cMaxNb | ) | 
| cMaxNb | the max number of back-off. This parameter is an uint8_t. | 
| None. | 
Definition at line 488 of file S2LP_Csma.c.
 1.8.15