Home
last modified time | relevance | path

Searched refs:paConfig (Results 1 – 18 of 18) sorted by relevance

/loramac-node-3.4.0/src/boards/B-L072Z-LRWAN1/
Dsx1276-board.c187 uint8_t paConfig = 0; in SX1276SetRfTxPower() local
190 paConfig = SX1276Read( REG_PACONFIG ); in SX1276SetRfTxPower()
193 paConfig = ( paConfig & RF_PACONFIG_PASELECT_MASK ) | SX1276GetPaSelect( power ); in SX1276SetRfTxPower()
195 if( ( paConfig & RF_PACONFIG_PASELECT_PABOOST ) == RF_PACONFIG_PASELECT_PABOOST ) in SX1276SetRfTxPower()
215paConfig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) & … in SX1276SetRfTxPower()
227paConfig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 2 ) & … in SX1276SetRfTxPower()
238paConfig = ( paConfig & RF_PACONFIG_MAX_POWER_MASK & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( 7 << 4 ) |… in SX1276SetRfTxPower()
246paConfig = ( paConfig & RF_PACONFIG_MAX_POWER_MASK & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( 0 << 4 ) |… in SX1276SetRfTxPower()
249 SX1276Write( REG_PACONFIG, paConfig ); in SX1276SetRfTxPower()
298 uint8_t paConfig = SX1276Read( REG_PACONFIG ); in SX1276SetAntSw() local
[all …]
/loramac-node-3.4.0/src/boards/NucleoL152/
Dsx1276mb1las-board.c178 uint8_t paConfig = 0; in SX1276SetRfTxPower() local
181 paConfig = SX1276Read( REG_PACONFIG ); in SX1276SetRfTxPower()
184paConfig = ( paConfig & RF_PACONFIG_PASELECT_MASK ) | SX1276GetPaSelect( SX1276.Settings.Channel ); in SX1276SetRfTxPower()
186 if( ( paConfig & RF_PACONFIG_PASELECT_PABOOST ) == RF_PACONFIG_PASELECT_PABOOST ) in SX1276SetRfTxPower()
206paConfig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) & … in SX1276SetRfTxPower()
218paConfig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 2 ) & … in SX1276SetRfTxPower()
229paConfig = ( paConfig & RF_PACONFIG_MAX_POWER_MASK & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( 7 << 4 ) |… in SX1276SetRfTxPower()
237paConfig = ( paConfig & RF_PACONFIG_MAX_POWER_MASK & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( 0 << 4 ) |… in SX1276SetRfTxPower()
240 SX1276Write( REG_PACONFIG, paConfig ); in SX1276SetRfTxPower()
Dsx1276mb1mas-board.c178 uint8_t paConfig = 0; in SX1276SetRfTxPower() local
181 paConfig = SX1276Read( REG_PACONFIG ); in SX1276SetRfTxPower()
184paConfig = ( paConfig & RF_PACONFIG_PASELECT_MASK ) | SX1276GetPaSelect( SX1276.Settings.Channel ); in SX1276SetRfTxPower()
186 if( ( paConfig & RF_PACONFIG_PASELECT_PABOOST ) == RF_PACONFIG_PASELECT_PABOOST ) in SX1276SetRfTxPower()
206paConfig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) & … in SX1276SetRfTxPower()
218paConfig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 2 ) & … in SX1276SetRfTxPower()
229paConfig = ( paConfig & RF_PACONFIG_MAX_POWER_MASK & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( 7 << 4 ) |… in SX1276SetRfTxPower()
237paConfig = ( paConfig & RF_PACONFIG_MAX_POWER_MASK & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( 0 << 4 ) |… in SX1276SetRfTxPower()
240 SX1276Write( REG_PACONFIG, paConfig ); in SX1276SetRfTxPower()
Dsx1272mb2das-board.c176 uint8_t paConfig = 0; in SX1272SetRfTxPower() local
179 paConfig = SX1272Read( REG_PACONFIG ); in SX1272SetRfTxPower()
182paConfig = ( paConfig & RF_PACONFIG_PASELECT_MASK ) | SX1272GetPaSelect( SX1272.Settings.Channel ); in SX1272SetRfTxPower()
184 if( ( paConfig & RF_PACONFIG_PASELECT_PABOOST ) == RF_PACONFIG_PASELECT_PABOOST ) in SX1272SetRfTxPower()
204paConfig = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) … in SX1272SetRfTxPower()
216paConfig = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 2 ) … in SX1272SetRfTxPower()
229paConfig = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power + 1 ) … in SX1272SetRfTxPower()
231 SX1272Write( REG_PACONFIG, paConfig ); in SX1272SetRfTxPower()
Dlr1110mb1xxs-board.c137 lr1110_radio_pa_config_t paConfig = { in lr1110_board_init() local
143 lr1110_radio_set_pa_config( context, &paConfig ); in lr1110_board_init()
/loramac-node-3.4.0/src/boards/NucleoL073/
Dsx1276mb1las-board.c178 uint8_t paConfig = 0; in SX1276SetRfTxPower() local
181 paConfig = SX1276Read( REG_PACONFIG ); in SX1276SetRfTxPower()
184paConfig = ( paConfig & RF_PACONFIG_PASELECT_MASK ) | SX1276GetPaSelect( SX1276.Settings.Channel ); in SX1276SetRfTxPower()
186 if( ( paConfig & RF_PACONFIG_PASELECT_PABOOST ) == RF_PACONFIG_PASELECT_PABOOST ) in SX1276SetRfTxPower()
206paConfig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) & … in SX1276SetRfTxPower()
218paConfig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 2 ) & … in SX1276SetRfTxPower()
229paConfig = ( paConfig & RF_PACONFIG_MAX_POWER_MASK & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( 7 << 4 ) |… in SX1276SetRfTxPower()
237paConfig = ( paConfig & RF_PACONFIG_MAX_POWER_MASK & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( 0 << 4 ) |… in SX1276SetRfTxPower()
240 SX1276Write( REG_PACONFIG, paConfig ); in SX1276SetRfTxPower()
Dsx1276mb1mas-board.c178 uint8_t paConfig = 0; in SX1276SetRfTxPower() local
181 paConfig = SX1276Read( REG_PACONFIG ); in SX1276SetRfTxPower()
184paConfig = ( paConfig & RF_PACONFIG_PASELECT_MASK ) | SX1276GetPaSelect( SX1276.Settings.Channel ); in SX1276SetRfTxPower()
186 if( ( paConfig & RF_PACONFIG_PASELECT_PABOOST ) == RF_PACONFIG_PASELECT_PABOOST ) in SX1276SetRfTxPower()
206paConfig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) & … in SX1276SetRfTxPower()
218paConfig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 2 ) & … in SX1276SetRfTxPower()
229paConfig = ( paConfig & RF_PACONFIG_MAX_POWER_MASK & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( 7 << 4 ) |… in SX1276SetRfTxPower()
237paConfig = ( paConfig & RF_PACONFIG_MAX_POWER_MASK & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( 0 << 4 ) |… in SX1276SetRfTxPower()
240 SX1276Write( REG_PACONFIG, paConfig ); in SX1276SetRfTxPower()
Dsx1272mb2das-board.c176 uint8_t paConfig = 0; in SX1272SetRfTxPower() local
179 paConfig = SX1272Read( REG_PACONFIG ); in SX1272SetRfTxPower()
182paConfig = ( paConfig & RF_PACONFIG_PASELECT_MASK ) | SX1272GetPaSelect( SX1272.Settings.Channel ); in SX1272SetRfTxPower()
184 if( ( paConfig & RF_PACONFIG_PASELECT_PABOOST ) == RF_PACONFIG_PASELECT_PABOOST ) in SX1272SetRfTxPower()
204paConfig = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) … in SX1272SetRfTxPower()
216paConfig = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 2 ) … in SX1272SetRfTxPower()
229paConfig = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power + 1 ) … in SX1272SetRfTxPower()
231 SX1272Write( REG_PACONFIG, paConfig ); in SX1272SetRfTxPower()
Dlr1110mb1xxs-board.c137 lr1110_radio_pa_config_t paConfig = { in lr1110_board_init() local
143 lr1110_radio_set_pa_config( context, &paConfig ); in lr1110_board_init()
/loramac-node-3.4.0/src/boards/NucleoL476/
Dsx1276mb1las-board.c178 uint8_t paConfig = 0; in SX1276SetRfTxPower() local
181 paConfig = SX1276Read( REG_PACONFIG ); in SX1276SetRfTxPower()
184paConfig = ( paConfig & RF_PACONFIG_PASELECT_MASK ) | SX1276GetPaSelect( SX1276.Settings.Channel ); in SX1276SetRfTxPower()
186 if( ( paConfig & RF_PACONFIG_PASELECT_PABOOST ) == RF_PACONFIG_PASELECT_PABOOST ) in SX1276SetRfTxPower()
206paConfig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) & … in SX1276SetRfTxPower()
218paConfig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 2 ) & … in SX1276SetRfTxPower()
229paConfig = ( paConfig & RF_PACONFIG_MAX_POWER_MASK & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( 7 << 4 ) |… in SX1276SetRfTxPower()
237paConfig = ( paConfig & RF_PACONFIG_MAX_POWER_MASK & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( 0 << 4 ) |… in SX1276SetRfTxPower()
240 SX1276Write( REG_PACONFIG, paConfig ); in SX1276SetRfTxPower()
Dsx1276mb1mas-board.c178 uint8_t paConfig = 0; in SX1276SetRfTxPower() local
181 paConfig = SX1276Read( REG_PACONFIG ); in SX1276SetRfTxPower()
184paConfig = ( paConfig & RF_PACONFIG_PASELECT_MASK ) | SX1276GetPaSelect( SX1276.Settings.Channel ); in SX1276SetRfTxPower()
186 if( ( paConfig & RF_PACONFIG_PASELECT_PABOOST ) == RF_PACONFIG_PASELECT_PABOOST ) in SX1276SetRfTxPower()
206paConfig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) & … in SX1276SetRfTxPower()
218paConfig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 2 ) & … in SX1276SetRfTxPower()
229paConfig = ( paConfig & RF_PACONFIG_MAX_POWER_MASK & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( 7 << 4 ) |… in SX1276SetRfTxPower()
237paConfig = ( paConfig & RF_PACONFIG_MAX_POWER_MASK & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( 0 << 4 ) |… in SX1276SetRfTxPower()
240 SX1276Write( REG_PACONFIG, paConfig ); in SX1276SetRfTxPower()
Dsx1272mb2das-board.c176 uint8_t paConfig = 0; in SX1272SetRfTxPower() local
179 paConfig = SX1272Read( REG_PACONFIG ); in SX1272SetRfTxPower()
182paConfig = ( paConfig & RF_PACONFIG_PASELECT_MASK ) | SX1272GetPaSelect( SX1272.Settings.Channel ); in SX1272SetRfTxPower()
184 if( ( paConfig & RF_PACONFIG_PASELECT_PABOOST ) == RF_PACONFIG_PASELECT_PABOOST ) in SX1272SetRfTxPower()
204paConfig = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) … in SX1272SetRfTxPower()
216paConfig = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 2 ) … in SX1272SetRfTxPower()
229paConfig = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power + 1 ) … in SX1272SetRfTxPower()
231 SX1272Write( REG_PACONFIG, paConfig ); in SX1272SetRfTxPower()
Dlr1110mb1xxs-board.c137 lr1110_radio_pa_config_t paConfig = { in lr1110_board_init() local
143 lr1110_radio_set_pa_config( context, &paConfig ); in lr1110_board_init()
/loramac-node-3.4.0/src/boards/SAMR34/
Dsx1276-board.c236 uint8_t paConfig = 0; in SX1276SetRfTxPower() local
239 paConfig = SX1276Read( REG_PACONFIG ); in SX1276SetRfTxPower()
242paConfig = ( paConfig & RF_PACONFIG_PASELECT_MASK ) | SX1276GetPaSelect( SX1276.Settings.Channel ); in SX1276SetRfTxPower()
244 if( ( paConfig & RF_PACONFIG_PASELECT_PABOOST ) == RF_PACONFIG_PASELECT_PABOOST ) in SX1276SetRfTxPower()
264paConfig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) & … in SX1276SetRfTxPower()
276paConfig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 2 ) & … in SX1276SetRfTxPower()
287paConfig = ( paConfig & RF_PACONFIG_MAX_POWER_MASK & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( 7 << 4 ) |… in SX1276SetRfTxPower()
295paConfig = ( paConfig & RF_PACONFIG_MAX_POWER_MASK & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( 0 << 4 ) |… in SX1276SetRfTxPower()
298 SX1276Write( REG_PACONFIG, paConfig ); in SX1276SetRfTxPower()
/loramac-node-3.4.0/src/boards/SKiM980A/
Dsx1272-board.c177 uint8_t paConfig = 0; in SX1272SetRfTxPower() local
180 paConfig = SX1272Read( REG_PACONFIG ); in SX1272SetRfTxPower()
183paConfig = ( paConfig & RF_PACONFIG_PASELECT_MASK ) | SX1272GetPaSelect( SX1272.Settings.Channel ); in SX1272SetRfTxPower()
185 if( ( paConfig & RF_PACONFIG_PASELECT_PABOOST ) == RF_PACONFIG_PASELECT_PABOOST ) in SX1272SetRfTxPower()
205paConfig = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) … in SX1272SetRfTxPower()
217paConfig = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 2 ) … in SX1272SetRfTxPower()
230paConfig = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power + 1 ) … in SX1272SetRfTxPower()
232 SX1272Write( REG_PACONFIG, paConfig ); in SX1272SetRfTxPower()
/loramac-node-3.4.0/src/boards/SKiM880B/
Dsx1272-board.c177 uint8_t paConfig = 0; in SX1272SetRfTxPower() local
180 paConfig = SX1272Read( REG_PACONFIG ); in SX1272SetRfTxPower()
183paConfig = ( paConfig & RF_PACONFIG_PASELECT_MASK ) | SX1272GetPaSelect( SX1272.Settings.Channel ); in SX1272SetRfTxPower()
185 if( ( paConfig & RF_PACONFIG_PASELECT_PABOOST ) == RF_PACONFIG_PASELECT_PABOOST ) in SX1272SetRfTxPower()
205paConfig = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) … in SX1272SetRfTxPower()
217paConfig = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 2 ) … in SX1272SetRfTxPower()
230paConfig = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power + 1 ) … in SX1272SetRfTxPower()
232 SX1272Write( REG_PACONFIG, paConfig ); in SX1272SetRfTxPower()
/loramac-node-3.4.0/src/boards/SKiM881AXL/
Dsx1272-board.c177 uint8_t paConfig = 0; in SX1272SetRfTxPower() local
180 paConfig = SX1272Read( REG_PACONFIG ); in SX1272SetRfTxPower()
183paConfig = ( paConfig & RF_PACONFIG_PASELECT_MASK ) | SX1272GetPaSelect( SX1272.Settings.Channel ); in SX1272SetRfTxPower()
185 if( ( paConfig & RF_PACONFIG_PASELECT_PABOOST ) == RF_PACONFIG_PASELECT_PABOOST ) in SX1272SetRfTxPower()
205paConfig = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) … in SX1272SetRfTxPower()
217paConfig = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 2 ) … in SX1272SetRfTxPower()
230paConfig = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power + 1 ) … in SX1272SetRfTxPower()
232 SX1272Write( REG_PACONFIG, paConfig ); in SX1272SetRfTxPower()
/loramac-node-3.4.0/src/boards/NAMote72/
Dsx1272-board.c198 uint8_t paConfig = 0; in SX1272SetRfTxPower() local
201 paConfig = Radio.Read( REG_PACONFIG ); in SX1272SetRfTxPower()
206 paConfig = ( paConfig & RF_PACONFIG_PASELECT_MASK ) | RF_PACONFIG_PASELECT_RFO; in SX1272SetRfTxPower()
207 paConfig = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | RfoTable[power - 20]; in SX1272SetRfTxPower()
211 paConfig = ( paConfig & RF_PACONFIG_PASELECT_MASK ) | RF_PACONFIG_PASELECT_PABOOST; in SX1272SetRfTxPower()
212 paConfig = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | PaBTable[MAX( power, 0 )]; in SX1272SetRfTxPower()
214 Radio.Write( REG_PACONFIG, paConfig ); in SX1272SetRfTxPower()