bf0_mbox_common.h

Defines

PEER_CORE_1

Functions

uint8_t lcpu_power_on(void)

power on LCPU,

返回:

0: OK, >0: ERROR

uint8_t lcpu_power_off(void)

power off LCPU,

返回:

0: OK, >0: ERROR

void lcpu_disable_rf_cal(uint8_t is_disable)

Disable/Enable RF Calibration when power up LCPU.

@psram is_disable 1: disable RF calibration, 0: enable RF Calibration

返回:

void

ipc_queue_handle_t sys_init_hl_ipc_queue(ipc_queue_rx_ind_t rx_ind)
ipc_queue_handle_t sys_get_hl_ipc_queue(void)
ipc_queue_handle_t sys_init_ha_ipc_queue(ipc_queue_rx_ind_t rx_ind)
ipc_queue_handle_t sys_get_ha_ipc_queue(void)
void print_sysinfo(char *buf, uint32_t buf_len)
rt_tick_t sf_latch_tick(rt_tick_t curr_tick, uint32_t curr_time, float gtime_freq, void *user_data)

Calculate the compensated rt_tick.

参数:
  • curr_tick – [in] current rt_tick

  • curr_time – [in] current GTIME

  • gtime_freq – [in] GTIMER frequency

  • user_data – [in] user data

返回值:

compensated – rt_tick

void sf_set_last_latch_tick(rt_tick_t last_latch_tick)

Update last latch tick if rt_tick cannot be updated as expected.

参数:
  • last_latch_tick – [in] last_latch_tick

返回:

void