Home
last modified time | relevance | path

Searched refs:bitRate (Results 1 – 2 of 2) sorted by relevance

/loramac-node-latest/src/radio/sx1272/
Dsx1272.c445 uint32_t bitRate = ( uint32_t )( SX1272_XTAL_FREQ / datarate ); in SX1272SetRxConfig() local
446 SX1272Write( REG_BITRATEMSB, ( uint8_t )( bitRate >> 8 ) ); in SX1272SetRxConfig()
447 SX1272Write( REG_BITRATELSB, ( uint8_t )( bitRate & 0xFF ) ); in SX1272SetRxConfig()
593 uint32_t bitRate = ( uint32_t )( SX1272_XTAL_FREQ / datarate ); in SX1272SetTxConfig() local
594 SX1272Write( REG_BITRATEMSB, ( uint8_t )( bitRate >> 8 ) ); in SX1272SetTxConfig()
595 SX1272Write( REG_BITRATELSB, ( uint8_t )( bitRate & 0xFF ) ); in SX1272SetTxConfig()
/loramac-node-latest/src/radio/sx1276/
Dsx1276.c496 uint32_t bitRate = ( uint32_t )( SX1276_XTAL_FREQ / datarate ); in SX1276SetRxConfig() local
497 SX1276Write( REG_BITRATEMSB, ( uint8_t )( bitRate >> 8 ) ); in SX1276SetRxConfig()
498 SX1276Write( REG_BITRATELSB, ( uint8_t )( bitRate & 0xFF ) ); in SX1276SetRxConfig()
671 uint32_t bitRate = ( uint32_t )( SX1276_XTAL_FREQ / datarate ); in SX1276SetTxConfig() local
672 SX1276Write( REG_BITRATEMSB, ( uint8_t )( bitRate >> 8 ) ); in SX1276SetTxConfig()
673 SX1276Write( REG_BITRATELSB, ( uint8_t )( bitRate & 0xFF ) ); in SX1276SetTxConfig()