/loramac-node-latest/src/boards/B-L072Z-LRWAN1/ |
D | sx1276-board.c | 36 static uint8_t SX1276GetPaSelect( int8_t power ); 185 void SX1276SetRfTxPower( int8_t power ) in SX1276SetRfTxPower() argument 193 paConfig = ( paConfig & RF_PACONFIG_PASELECT_MASK ) | SX1276GetPaSelect( power ); in SX1276SetRfTxPower() 197 if( power > 17 ) in SX1276SetRfTxPower() 207 if( power < 5 ) in SX1276SetRfTxPower() 209 power = 5; in SX1276SetRfTxPower() 211 if( power > 20 ) in SX1276SetRfTxPower() 213 power = 20; in SX1276SetRfTxPower() 215 …ig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) & 0x0F ); in SX1276SetRfTxPower() 219 if( power < 2 ) in SX1276SetRfTxPower() [all …]
|
/loramac-node-latest/src/boards/NucleoL476/ |
D | sx1276mb1las-board.c | 176 void SX1276SetRfTxPower( int8_t power ) in SX1276SetRfTxPower() argument 188 if( power > 17 ) in SX1276SetRfTxPower() 198 if( power < 5 ) in SX1276SetRfTxPower() 200 power = 5; in SX1276SetRfTxPower() 202 if( power > 20 ) in SX1276SetRfTxPower() 204 power = 20; in SX1276SetRfTxPower() 206 …ig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) & 0x0F ); in SX1276SetRfTxPower() 210 if( power < 2 ) in SX1276SetRfTxPower() 212 power = 2; in SX1276SetRfTxPower() 214 if( power > 17 ) in SX1276SetRfTxPower() [all …]
|
D | sx1276mb1mas-board.c | 176 void SX1276SetRfTxPower( int8_t power ) in SX1276SetRfTxPower() argument 188 if( power > 17 ) in SX1276SetRfTxPower() 198 if( power < 5 ) in SX1276SetRfTxPower() 200 power = 5; in SX1276SetRfTxPower() 202 if( power > 20 ) in SX1276SetRfTxPower() 204 power = 20; in SX1276SetRfTxPower() 206 …ig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) & 0x0F ); in SX1276SetRfTxPower() 210 if( power < 2 ) in SX1276SetRfTxPower() 212 power = 2; in SX1276SetRfTxPower() 214 if( power > 17 ) in SX1276SetRfTxPower() [all …]
|
D | sx1272mb2das-board.c | 174 void SX1272SetRfTxPower( int8_t power ) in SX1272SetRfTxPower() argument 186 if( power > 17 ) in SX1272SetRfTxPower() 196 if( power < 5 ) in SX1272SetRfTxPower() 198 power = 5; in SX1272SetRfTxPower() 200 if( power > 20 ) in SX1272SetRfTxPower() 202 power = 20; in SX1272SetRfTxPower() 204 … = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) & 0x0F ); in SX1272SetRfTxPower() 208 if( power < 2 ) in SX1272SetRfTxPower() 210 power = 2; in SX1272SetRfTxPower() 212 if( power > 17 ) in SX1272SetRfTxPower() [all …]
|
D | lr1110mb1xxs-board.c | 75 void lr1110_board_set_rf_tx_power( const void* context, int8_t power ) in lr1110_board_set_rf_tx_power() argument 78 if( power > 0 ) in lr1110_board_set_rf_tx_power() 80 if( power > 22 ) in lr1110_board_set_rf_tx_power() 82 power = 22; in lr1110_board_set_rf_tx_power() 87 if( power < -9 ) in lr1110_board_set_rf_tx_power() 89 power = -9; in lr1110_board_set_rf_tx_power() 92 lr1110_radio_set_tx_params( context, power, LR1110_RADIO_RAMP_TIME_40U ); in lr1110_board_set_rf_tx_power()
|
/loramac-node-latest/src/boards/NucleoL152/ |
D | sx1276mb1las-board.c | 176 void SX1276SetRfTxPower( int8_t power ) in SX1276SetRfTxPower() argument 188 if( power > 17 ) in SX1276SetRfTxPower() 198 if( power < 5 ) in SX1276SetRfTxPower() 200 power = 5; in SX1276SetRfTxPower() 202 if( power > 20 ) in SX1276SetRfTxPower() 204 power = 20; in SX1276SetRfTxPower() 206 …ig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) & 0x0F ); in SX1276SetRfTxPower() 210 if( power < 2 ) in SX1276SetRfTxPower() 212 power = 2; in SX1276SetRfTxPower() 214 if( power > 17 ) in SX1276SetRfTxPower() [all …]
|
D | sx1276mb1mas-board.c | 176 void SX1276SetRfTxPower( int8_t power ) in SX1276SetRfTxPower() argument 188 if( power > 17 ) in SX1276SetRfTxPower() 198 if( power < 5 ) in SX1276SetRfTxPower() 200 power = 5; in SX1276SetRfTxPower() 202 if( power > 20 ) in SX1276SetRfTxPower() 204 power = 20; in SX1276SetRfTxPower() 206 …ig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) & 0x0F ); in SX1276SetRfTxPower() 210 if( power < 2 ) in SX1276SetRfTxPower() 212 power = 2; in SX1276SetRfTxPower() 214 if( power > 17 ) in SX1276SetRfTxPower() [all …]
|
D | sx1272mb2das-board.c | 174 void SX1272SetRfTxPower( int8_t power ) in SX1272SetRfTxPower() argument 186 if( power > 17 ) in SX1272SetRfTxPower() 196 if( power < 5 ) in SX1272SetRfTxPower() 198 power = 5; in SX1272SetRfTxPower() 200 if( power > 20 ) in SX1272SetRfTxPower() 202 power = 20; in SX1272SetRfTxPower() 204 … = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) & 0x0F ); in SX1272SetRfTxPower() 208 if( power < 2 ) in SX1272SetRfTxPower() 210 power = 2; in SX1272SetRfTxPower() 212 if( power > 17 ) in SX1272SetRfTxPower() [all …]
|
D | lr1110mb1xxs-board.c | 75 void lr1110_board_set_rf_tx_power( const void* context, int8_t power ) in lr1110_board_set_rf_tx_power() argument 78 if( power > 0 ) in lr1110_board_set_rf_tx_power() 80 if( power > 22 ) in lr1110_board_set_rf_tx_power() 82 power = 22; in lr1110_board_set_rf_tx_power() 87 if( power < -9 ) in lr1110_board_set_rf_tx_power() 89 power = -9; in lr1110_board_set_rf_tx_power() 92 lr1110_radio_set_tx_params( context, power, LR1110_RADIO_RAMP_TIME_40U ); in lr1110_board_set_rf_tx_power()
|
/loramac-node-latest/src/boards/NucleoL073/ |
D | sx1276mb1las-board.c | 176 void SX1276SetRfTxPower( int8_t power ) in SX1276SetRfTxPower() argument 188 if( power > 17 ) in SX1276SetRfTxPower() 198 if( power < 5 ) in SX1276SetRfTxPower() 200 power = 5; in SX1276SetRfTxPower() 202 if( power > 20 ) in SX1276SetRfTxPower() 204 power = 20; in SX1276SetRfTxPower() 206 …ig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) & 0x0F ); in SX1276SetRfTxPower() 210 if( power < 2 ) in SX1276SetRfTxPower() 212 power = 2; in SX1276SetRfTxPower() 214 if( power > 17 ) in SX1276SetRfTxPower() [all …]
|
D | sx1276mb1mas-board.c | 176 void SX1276SetRfTxPower( int8_t power ) in SX1276SetRfTxPower() argument 188 if( power > 17 ) in SX1276SetRfTxPower() 198 if( power < 5 ) in SX1276SetRfTxPower() 200 power = 5; in SX1276SetRfTxPower() 202 if( power > 20 ) in SX1276SetRfTxPower() 204 power = 20; in SX1276SetRfTxPower() 206 …ig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) & 0x0F ); in SX1276SetRfTxPower() 210 if( power < 2 ) in SX1276SetRfTxPower() 212 power = 2; in SX1276SetRfTxPower() 214 if( power > 17 ) in SX1276SetRfTxPower() [all …]
|
D | sx1272mb2das-board.c | 174 void SX1272SetRfTxPower( int8_t power ) in SX1272SetRfTxPower() argument 186 if( power > 17 ) in SX1272SetRfTxPower() 196 if( power < 5 ) in SX1272SetRfTxPower() 198 power = 5; in SX1272SetRfTxPower() 200 if( power > 20 ) in SX1272SetRfTxPower() 202 power = 20; in SX1272SetRfTxPower() 204 … = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) & 0x0F ); in SX1272SetRfTxPower() 208 if( power < 2 ) in SX1272SetRfTxPower() 210 power = 2; in SX1272SetRfTxPower() 212 if( power > 17 ) in SX1272SetRfTxPower() [all …]
|
D | lr1110mb1xxs-board.c | 75 void lr1110_board_set_rf_tx_power( const void* context, int8_t power ) in lr1110_board_set_rf_tx_power() argument 78 if( power > 0 ) in lr1110_board_set_rf_tx_power() 80 if( power > 22 ) in lr1110_board_set_rf_tx_power() 82 power = 22; in lr1110_board_set_rf_tx_power() 87 if( power < -9 ) in lr1110_board_set_rf_tx_power() 89 power = -9; in lr1110_board_set_rf_tx_power() 92 lr1110_radio_set_tx_params( context, power, LR1110_RADIO_RAMP_TIME_40U ); in lr1110_board_set_rf_tx_power()
|
/loramac-node-latest/src/boards/SAMR34/ |
D | sx1276-board.c | 234 void SX1276SetRfTxPower( int8_t power ) in SX1276SetRfTxPower() argument 246 if( power > 17 ) in SX1276SetRfTxPower() 256 if( power < 5 ) in SX1276SetRfTxPower() 258 power = 5; in SX1276SetRfTxPower() 260 if( power > 20 ) in SX1276SetRfTxPower() 262 power = 20; in SX1276SetRfTxPower() 264 …ig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) & 0x0F ); in SX1276SetRfTxPower() 268 if( power < 2 ) in SX1276SetRfTxPower() 270 power = 2; in SX1276SetRfTxPower() 272 if( power > 17 ) in SX1276SetRfTxPower() [all …]
|
/loramac-node-latest/src/boards/SKiM980A/ |
D | sx1272-board.c | 175 void SX1272SetRfTxPower( int8_t power ) in SX1272SetRfTxPower() argument 187 if( power > 17 ) in SX1272SetRfTxPower() 197 if( power < 5 ) in SX1272SetRfTxPower() 199 power = 5; in SX1272SetRfTxPower() 201 if( power > 20 ) in SX1272SetRfTxPower() 203 power = 20; in SX1272SetRfTxPower() 205 … = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) & 0x0F ); in SX1272SetRfTxPower() 209 if( power < 2 ) in SX1272SetRfTxPower() 211 power = 2; in SX1272SetRfTxPower() 213 if( power > 17 ) in SX1272SetRfTxPower() [all …]
|
/loramac-node-latest/src/boards/SKiM881AXL/ |
D | sx1272-board.c | 175 void SX1272SetRfTxPower( int8_t power ) in SX1272SetRfTxPower() argument 187 if( power > 17 ) in SX1272SetRfTxPower() 197 if( power < 5 ) in SX1272SetRfTxPower() 199 power = 5; in SX1272SetRfTxPower() 201 if( power > 20 ) in SX1272SetRfTxPower() 203 power = 20; in SX1272SetRfTxPower() 205 … = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) & 0x0F ); in SX1272SetRfTxPower() 209 if( power < 2 ) in SX1272SetRfTxPower() 211 power = 2; in SX1272SetRfTxPower() 213 if( power > 17 ) in SX1272SetRfTxPower() [all …]
|
/loramac-node-latest/src/boards/SKiM880B/ |
D | sx1272-board.c | 175 void SX1272SetRfTxPower( int8_t power ) in SX1272SetRfTxPower() argument 187 if( power > 17 ) in SX1272SetRfTxPower() 197 if( power < 5 ) in SX1272SetRfTxPower() 199 power = 5; in SX1272SetRfTxPower() 201 if( power > 20 ) in SX1272SetRfTxPower() 203 power = 20; in SX1272SetRfTxPower() 205 … = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) & 0x0F ); in SX1272SetRfTxPower() 209 if( power < 2 ) in SX1272SetRfTxPower() 211 power = 2; in SX1272SetRfTxPower() 213 if( power > 17 ) in SX1272SetRfTxPower() [all …]
|
/loramac-node-latest/src/boards/mcu/saml21/hpl/core/ |
D | hpl_core_m0plus_base.c | 157 …e uint32_t _get_cycles_for_us_internal(const uint16_t us, const uint32_t freq, const uint8_t power) in _get_cycles_for_us_internal() argument 159 switch (power) { in _get_cycles_for_us_internal() 186 …e uint32_t _get_cycles_for_ms_internal(const uint16_t ms, const uint32_t freq, const uint8_t power) in _get_cycles_for_ms_internal() argument 188 switch (power) { in _get_cycles_for_ms_internal()
|
/loramac-node-latest/src/radio/sx126x/ |
D | sx126x.c | 528 void SX126xSetTxParams( int8_t power, RadioRampTimes_t rampTime ) in SX126xSetTxParams() argument 534 if( power == 15 ) in SX126xSetTxParams() 542 if( power >= 14 ) in SX126xSetTxParams() 544 power = 14; in SX126xSetTxParams() 546 else if( power < -17 ) in SX126xSetTxParams() 548 power = -17; in SX126xSetTxParams() 558 if( power > 22 ) in SX126xSetTxParams() 560 power = 22; in SX126xSetTxParams() 562 else if( power < -9 ) in SX126xSetTxParams() 564 power = -9; in SX126xSetTxParams() [all …]
|
D | radio.c | 169 void RadioSetTxConfig( RadioModems_t modem, int8_t power, uint32_t fdev, 252 void RadioSetTxContinuousWave( uint32_t freq, int8_t power, uint16_t time ); 764 void RadioSetTxConfig( RadioModems_t modem, int8_t power, uint32_t fdev, in RadioSetTxConfig() argument 864 SX126xSetRfTxPower( power ); in RadioSetTxConfig() 1151 void RadioSetTxContinuousWave( uint32_t freq, int8_t power, uint16_t time ) in RadioSetTxContinuousWave() argument 1156 SX126xSetRfTxPower( power ); in RadioSetTxContinuousWave()
|
/loramac-node-latest/src/boards/NAMote72/ |
D | sx1272-board.c | 196 void SX1272SetRfTxPower( int8_t power ) in SX1272SetRfTxPower() argument 204 if( power > 19 ) in SX1272SetRfTxPower() 207 paConfig = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | RfoTable[power - 20]; in SX1272SetRfTxPower() 212 paConfig = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | PaBTable[MAX( power, 0 )]; in SX1272SetRfTxPower()
|
/loramac-node-latest/src/radio/ |
D | radio.h | 245 void ( *SetTxConfig )( RadioModems_t modem, int8_t power, uint32_t fdev, 320 void ( *SetTxContinuousWave )( uint32_t freq, int8_t power, uint16_t time );
|
/loramac-node-latest/src/radio/sx1272/ |
D | sx1272.h | 303 void SX1272SetTxConfig( RadioModems_t modem, int8_t power, uint32_t fdev, 377 void SX1272SetTxContinuousWave( uint32_t freq, int8_t power, uint16_t time );
|
/loramac-node-latest/src/radio/sx1276/ |
D | sx1276.h | 307 void SX1276SetTxConfig( RadioModems_t modem, int8_t power, uint32_t fdev, 381 void SX1276SetTxContinuousWave( uint32_t freq, int8_t power, uint16_t time );
|
/loramac-node-latest/src/boards/ |
D | lr1110-board.h | 56 void lr1110_board_set_rf_tx_power( const void* context, int8_t power );
|