示例#1
0
static void run_tfa_pib_set_test(const struct test_case *test)
{
	retval_t status;

	int8_t temp;

	temp = TFA_PIB_RX_SENS_DEF;

	status = tfa_pib_set(TFA_PIB_RX_SENS, (void *)&temp);

	test_assert_true(test, status == MAC_SUCCESS,
			"AVR2025_MAC - TFA Setting RX Sensitivity failed");
}
示例#2
0
文件: tfa.c 项目: AndreyMostovov/asf
/**
 * \brief Write all shadow PIB variables to the transceiver
 *
 * This function writes all shadow PIB variables to the transceiver.
 * It is assumed that the radio does not sleep.
 * \ingroup group_tfa
 */
static void write_all_tfa_pibs_to_trx(void)
{
	tfa_pib_set(TFA_PIB_RX_SENS, (void *)&tfa_pib_rx_sens);
}