/loramac-node-3.4.0/src/boards/B-L072Z-LRWAN1/ |
D | sx1276-board.c | 187 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() 215 …paConfig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) & … in SX1276SetRfTxPower() 227 …paConfig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 2 ) & … in SX1276SetRfTxPower() 238 …paConfig = ( paConfig & RF_PACONFIG_MAX_POWER_MASK & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( 7 << 4 ) |… in SX1276SetRfTxPower() 246 …paConfig = ( 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/ |
D | sx1276mb1las-board.c | 178 uint8_t paConfig = 0; in SX1276SetRfTxPower() local 181 paConfig = SX1276Read( REG_PACONFIG ); in SX1276SetRfTxPower() 184 …paConfig = ( paConfig & RF_PACONFIG_PASELECT_MASK ) | SX1276GetPaSelect( SX1276.Settings.Channel ); in SX1276SetRfTxPower() 186 if( ( paConfig & RF_PACONFIG_PASELECT_PABOOST ) == RF_PACONFIG_PASELECT_PABOOST ) in SX1276SetRfTxPower() 206 …paConfig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) & … in SX1276SetRfTxPower() 218 …paConfig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 2 ) & … in SX1276SetRfTxPower() 229 …paConfig = ( paConfig & RF_PACONFIG_MAX_POWER_MASK & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( 7 << 4 ) |… in SX1276SetRfTxPower() 237 …paConfig = ( paConfig & RF_PACONFIG_MAX_POWER_MASK & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( 0 << 4 ) |… in SX1276SetRfTxPower() 240 SX1276Write( REG_PACONFIG, paConfig ); in SX1276SetRfTxPower()
|
D | sx1276mb1mas-board.c | 178 uint8_t paConfig = 0; in SX1276SetRfTxPower() local 181 paConfig = SX1276Read( REG_PACONFIG ); in SX1276SetRfTxPower() 184 …paConfig = ( paConfig & RF_PACONFIG_PASELECT_MASK ) | SX1276GetPaSelect( SX1276.Settings.Channel ); in SX1276SetRfTxPower() 186 if( ( paConfig & RF_PACONFIG_PASELECT_PABOOST ) == RF_PACONFIG_PASELECT_PABOOST ) in SX1276SetRfTxPower() 206 …paConfig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) & … in SX1276SetRfTxPower() 218 …paConfig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 2 ) & … in SX1276SetRfTxPower() 229 …paConfig = ( paConfig & RF_PACONFIG_MAX_POWER_MASK & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( 7 << 4 ) |… in SX1276SetRfTxPower() 237 …paConfig = ( paConfig & RF_PACONFIG_MAX_POWER_MASK & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( 0 << 4 ) |… in SX1276SetRfTxPower() 240 SX1276Write( REG_PACONFIG, paConfig ); in SX1276SetRfTxPower()
|
D | sx1272mb2das-board.c | 176 uint8_t paConfig = 0; in SX1272SetRfTxPower() local 179 paConfig = SX1272Read( REG_PACONFIG ); in SX1272SetRfTxPower() 182 …paConfig = ( paConfig & RF_PACONFIG_PASELECT_MASK ) | SX1272GetPaSelect( SX1272.Settings.Channel ); in SX1272SetRfTxPower() 184 if( ( paConfig & RF_PACONFIG_PASELECT_PABOOST ) == RF_PACONFIG_PASELECT_PABOOST ) in SX1272SetRfTxPower() 204 …paConfig = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) … in SX1272SetRfTxPower() 216 …paConfig = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 2 ) … in SX1272SetRfTxPower() 229 …paConfig = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power + 1 ) … in SX1272SetRfTxPower() 231 SX1272Write( REG_PACONFIG, paConfig ); in SX1272SetRfTxPower()
|
D | lr1110mb1xxs-board.c | 137 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/ |
D | sx1276mb1las-board.c | 178 uint8_t paConfig = 0; in SX1276SetRfTxPower() local 181 paConfig = SX1276Read( REG_PACONFIG ); in SX1276SetRfTxPower() 184 …paConfig = ( paConfig & RF_PACONFIG_PASELECT_MASK ) | SX1276GetPaSelect( SX1276.Settings.Channel ); in SX1276SetRfTxPower() 186 if( ( paConfig & RF_PACONFIG_PASELECT_PABOOST ) == RF_PACONFIG_PASELECT_PABOOST ) in SX1276SetRfTxPower() 206 …paConfig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) & … in SX1276SetRfTxPower() 218 …paConfig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 2 ) & … in SX1276SetRfTxPower() 229 …paConfig = ( paConfig & RF_PACONFIG_MAX_POWER_MASK & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( 7 << 4 ) |… in SX1276SetRfTxPower() 237 …paConfig = ( paConfig & RF_PACONFIG_MAX_POWER_MASK & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( 0 << 4 ) |… in SX1276SetRfTxPower() 240 SX1276Write( REG_PACONFIG, paConfig ); in SX1276SetRfTxPower()
|
D | sx1276mb1mas-board.c | 178 uint8_t paConfig = 0; in SX1276SetRfTxPower() local 181 paConfig = SX1276Read( REG_PACONFIG ); in SX1276SetRfTxPower() 184 …paConfig = ( paConfig & RF_PACONFIG_PASELECT_MASK ) | SX1276GetPaSelect( SX1276.Settings.Channel ); in SX1276SetRfTxPower() 186 if( ( paConfig & RF_PACONFIG_PASELECT_PABOOST ) == RF_PACONFIG_PASELECT_PABOOST ) in SX1276SetRfTxPower() 206 …paConfig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) & … in SX1276SetRfTxPower() 218 …paConfig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 2 ) & … in SX1276SetRfTxPower() 229 …paConfig = ( paConfig & RF_PACONFIG_MAX_POWER_MASK & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( 7 << 4 ) |… in SX1276SetRfTxPower() 237 …paConfig = ( paConfig & RF_PACONFIG_MAX_POWER_MASK & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( 0 << 4 ) |… in SX1276SetRfTxPower() 240 SX1276Write( REG_PACONFIG, paConfig ); in SX1276SetRfTxPower()
|
D | sx1272mb2das-board.c | 176 uint8_t paConfig = 0; in SX1272SetRfTxPower() local 179 paConfig = SX1272Read( REG_PACONFIG ); in SX1272SetRfTxPower() 182 …paConfig = ( paConfig & RF_PACONFIG_PASELECT_MASK ) | SX1272GetPaSelect( SX1272.Settings.Channel ); in SX1272SetRfTxPower() 184 if( ( paConfig & RF_PACONFIG_PASELECT_PABOOST ) == RF_PACONFIG_PASELECT_PABOOST ) in SX1272SetRfTxPower() 204 …paConfig = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) … in SX1272SetRfTxPower() 216 …paConfig = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 2 ) … in SX1272SetRfTxPower() 229 …paConfig = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power + 1 ) … in SX1272SetRfTxPower() 231 SX1272Write( REG_PACONFIG, paConfig ); in SX1272SetRfTxPower()
|
D | lr1110mb1xxs-board.c | 137 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/ |
D | sx1276mb1las-board.c | 178 uint8_t paConfig = 0; in SX1276SetRfTxPower() local 181 paConfig = SX1276Read( REG_PACONFIG ); in SX1276SetRfTxPower() 184 …paConfig = ( paConfig & RF_PACONFIG_PASELECT_MASK ) | SX1276GetPaSelect( SX1276.Settings.Channel ); in SX1276SetRfTxPower() 186 if( ( paConfig & RF_PACONFIG_PASELECT_PABOOST ) == RF_PACONFIG_PASELECT_PABOOST ) in SX1276SetRfTxPower() 206 …paConfig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) & … in SX1276SetRfTxPower() 218 …paConfig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 2 ) & … in SX1276SetRfTxPower() 229 …paConfig = ( paConfig & RF_PACONFIG_MAX_POWER_MASK & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( 7 << 4 ) |… in SX1276SetRfTxPower() 237 …paConfig = ( paConfig & RF_PACONFIG_MAX_POWER_MASK & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( 0 << 4 ) |… in SX1276SetRfTxPower() 240 SX1276Write( REG_PACONFIG, paConfig ); in SX1276SetRfTxPower()
|
D | sx1276mb1mas-board.c | 178 uint8_t paConfig = 0; in SX1276SetRfTxPower() local 181 paConfig = SX1276Read( REG_PACONFIG ); in SX1276SetRfTxPower() 184 …paConfig = ( paConfig & RF_PACONFIG_PASELECT_MASK ) | SX1276GetPaSelect( SX1276.Settings.Channel ); in SX1276SetRfTxPower() 186 if( ( paConfig & RF_PACONFIG_PASELECT_PABOOST ) == RF_PACONFIG_PASELECT_PABOOST ) in SX1276SetRfTxPower() 206 …paConfig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) & … in SX1276SetRfTxPower() 218 …paConfig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 2 ) & … in SX1276SetRfTxPower() 229 …paConfig = ( paConfig & RF_PACONFIG_MAX_POWER_MASK & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( 7 << 4 ) |… in SX1276SetRfTxPower() 237 …paConfig = ( paConfig & RF_PACONFIG_MAX_POWER_MASK & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( 0 << 4 ) |… in SX1276SetRfTxPower() 240 SX1276Write( REG_PACONFIG, paConfig ); in SX1276SetRfTxPower()
|
D | sx1272mb2das-board.c | 176 uint8_t paConfig = 0; in SX1272SetRfTxPower() local 179 paConfig = SX1272Read( REG_PACONFIG ); in SX1272SetRfTxPower() 182 …paConfig = ( paConfig & RF_PACONFIG_PASELECT_MASK ) | SX1272GetPaSelect( SX1272.Settings.Channel ); in SX1272SetRfTxPower() 184 if( ( paConfig & RF_PACONFIG_PASELECT_PABOOST ) == RF_PACONFIG_PASELECT_PABOOST ) in SX1272SetRfTxPower() 204 …paConfig = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) … in SX1272SetRfTxPower() 216 …paConfig = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 2 ) … in SX1272SetRfTxPower() 229 …paConfig = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power + 1 ) … in SX1272SetRfTxPower() 231 SX1272Write( REG_PACONFIG, paConfig ); in SX1272SetRfTxPower()
|
D | lr1110mb1xxs-board.c | 137 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/ |
D | sx1276-board.c | 236 uint8_t paConfig = 0; in SX1276SetRfTxPower() local 239 paConfig = SX1276Read( REG_PACONFIG ); in SX1276SetRfTxPower() 242 …paConfig = ( paConfig & RF_PACONFIG_PASELECT_MASK ) | SX1276GetPaSelect( SX1276.Settings.Channel ); in SX1276SetRfTxPower() 244 if( ( paConfig & RF_PACONFIG_PASELECT_PABOOST ) == RF_PACONFIG_PASELECT_PABOOST ) in SX1276SetRfTxPower() 264 …paConfig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) & … in SX1276SetRfTxPower() 276 …paConfig = ( paConfig & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 2 ) & … in SX1276SetRfTxPower() 287 …paConfig = ( paConfig & RF_PACONFIG_MAX_POWER_MASK & RF_PACONFIG_OUTPUTPOWER_MASK ) | ( 7 << 4 ) |… in SX1276SetRfTxPower() 295 …paConfig = ( 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/ |
D | sx1272-board.c | 177 uint8_t paConfig = 0; in SX1272SetRfTxPower() local 180 paConfig = SX1272Read( REG_PACONFIG ); in SX1272SetRfTxPower() 183 …paConfig = ( paConfig & RF_PACONFIG_PASELECT_MASK ) | SX1272GetPaSelect( SX1272.Settings.Channel ); in SX1272SetRfTxPower() 185 if( ( paConfig & RF_PACONFIG_PASELECT_PABOOST ) == RF_PACONFIG_PASELECT_PABOOST ) in SX1272SetRfTxPower() 205 …paConfig = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) … in SX1272SetRfTxPower() 217 …paConfig = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 2 ) … in SX1272SetRfTxPower() 230 …paConfig = ( 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/ |
D | sx1272-board.c | 177 uint8_t paConfig = 0; in SX1272SetRfTxPower() local 180 paConfig = SX1272Read( REG_PACONFIG ); in SX1272SetRfTxPower() 183 …paConfig = ( paConfig & RF_PACONFIG_PASELECT_MASK ) | SX1272GetPaSelect( SX1272.Settings.Channel ); in SX1272SetRfTxPower() 185 if( ( paConfig & RF_PACONFIG_PASELECT_PABOOST ) == RF_PACONFIG_PASELECT_PABOOST ) in SX1272SetRfTxPower() 205 …paConfig = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) … in SX1272SetRfTxPower() 217 …paConfig = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 2 ) … in SX1272SetRfTxPower() 230 …paConfig = ( 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/ |
D | sx1272-board.c | 177 uint8_t paConfig = 0; in SX1272SetRfTxPower() local 180 paConfig = SX1272Read( REG_PACONFIG ); in SX1272SetRfTxPower() 183 …paConfig = ( paConfig & RF_PACONFIG_PASELECT_MASK ) | SX1272GetPaSelect( SX1272.Settings.Channel ); in SX1272SetRfTxPower() 185 if( ( paConfig & RF_PACONFIG_PASELECT_PABOOST ) == RF_PACONFIG_PASELECT_PABOOST ) in SX1272SetRfTxPower() 205 …paConfig = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 5 ) … in SX1272SetRfTxPower() 217 …paConfig = ( paConfig & RFLR_PACONFIG_OUTPUTPOWER_MASK ) | ( uint8_t )( ( uint16_t )( power - 2 ) … in SX1272SetRfTxPower() 230 …paConfig = ( 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/ |
D | sx1272-board.c | 198 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()
|