[low-power] add CSL implementations on nrf52840 (#5449)

This commit is contained in:
Li Cao
2020-09-02 22:32:16 -07:00
committed by GitHub
parent 00c6d7b41e
commit b940baf9b6
8 changed files with 175 additions and 32 deletions
+6 -3
View File
@@ -149,11 +149,14 @@ typedef uint16_t otShortAddress;
*/
enum
{
OT_IE_HEADER_IE_SIZE = 2, ///< Size of IE header in bytes.
OT_CSL_IE_SIZE = 4, ///< Size of CSL IE content in bytes.
OT_ACK_IE_MAX_SIZE = 16, ///< Max length for header IE in ACK.
OT_IE_HEADER_SIZE = 2, ///< Size of IE header in bytes.
OT_CSL_IE_SIZE = 4, ///< Size of CSL IE content in bytes.
OT_ACK_IE_MAX_SIZE = 16, ///< Max length for header IE in ACK.
};
#define CSL_IE_HEADER_BYTES_LO 0x04 ///< Fixed CSL IE header first byte
#define CSL_IE_HEADER_BYTES_HI 0x0d ///< Fixed CSL IE header second byte
/**
* @struct otExtAddress
*