BLE 5, Thread, Zigbee Modules,BT840X/XE
Ver 1.11 April 2019
21
.pa_cfg = {
.enable = 1,
.active_high = 1,
.gpio_pin = APP_PA_PIN
},
.lna_cfg = {
.enable = 1,
.active_high = 1,
.gpio_pin = APP_LNA_PIN
},
.ppi_ch_id_set = APP_AMP_PPI_CH_ID_SET,
.ppi_ch_id_clr = APP_AMP_PPI_CH_ID_CLR,
.gpiote_ch_id = APP_AMP_GPIOTE_CH_ID
}
}
};
NRF_GPIO->DIRSET |= (1 << APP_PA_PIN) | (1 << APP_LNA_PIN) ;
err_code = sd_ble_opt_set(BLE_COMMON_OPT_PA_LNA, &pa_lna_opts);
APP_ERROR_CHECK(err_code);
}
#endif