Home
last modified time | relevance | path

Searched refs:power (Results 1 – 25 of 43) sorted by relevance

12

/loramac-node-latest/src/boards/B-L072Z-LRWAN1/
Dsx1276-board.c36 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/
Dsx1276mb1las-board.c176 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 …]
Dsx1276mb1mas-board.c176 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 …]
Dsx1272mb2das-board.c174 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 …]
Dlr1110mb1xxs-board.c75 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/
Dsx1276mb1las-board.c176 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 …]
Dsx1276mb1mas-board.c176 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 …]
Dsx1272mb2das-board.c174 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 …]
Dlr1110mb1xxs-board.c75 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/
Dsx1276mb1las-board.c176 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 …]
Dsx1276mb1mas-board.c176 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 …]
Dsx1272mb2das-board.c174 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 …]
Dlr1110mb1xxs-board.c75 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/
Dsx1276-board.c234 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/
Dsx1272-board.c175 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/
Dsx1272-board.c175 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/
Dsx1272-board.c175 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/
Dhpl_core_m0plus_base.c157 …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/
Dsx126x.c528 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 …]
Dradio.c169 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/
Dsx1272-board.c196 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/
Dradio.h245 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/
Dsx1272.h303 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/
Dsx1276.h307 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/
Dlr1110-board.h56 void lr1110_board_set_rf_tx_power( const void* context, int8_t power );

12