PAN1080 Peripheral API
|
Phy Interface. More...
Modules | |
Phy type select | |
Phy type select definitions. | |
Phy action select | |
Phy action select definitions. | |
Functions | |
void | PHY_reset (void) |
Reset phy. More... | |
void | PHY_SetChConfig (uint8_t chan) |
Configures the channel. More... | |
void | PHY_init (void) |
Phy init. More... | |
void | PHY_SetTrxSeq (enum tx_rx_phy phy) |
Gonfigures the send and receive sequence. More... | |
uint8_t | phy_set_time_cfg (uint8_t phy, uint8_t tx1rx0) |
Gonfigures the send and receive time. More... | |
bool | PHY_SetExternChannel (uint16_t rf_channel, uint8_t calibrate) |
Configures the Low Speed AHB clock (HCLK). More... | |
void | PHY_ResetChannel (void) |
Reset channel config. More... | |
void | PHY_strt_stp (llhw_phy_strt_stp_phy_e phy_state) |
Start or stop phy action. More... | |
uint32_t | PHY_WriteCfgFifoBatch (const uint32_t *command, const uint32_t cmd_len, uint32_t *ptr_rsp_value) |
Write fifo batch config . More... | |
Phy Interface.
void PHY_init | ( | void | ) |
Phy init.
None |
void PHY_reset | ( | void | ) |
Reset phy.
None |
void PHY_ResetChannel | ( | void | ) |
Reset channel config.
None |
uint8_t phy_set_time_cfg | ( | uint8_t | phy, |
uint8_t | tx1rx0 | ||
) |
Gonfigures the send and receive time.
phy | select phy |
tx1rx0 | select tx or rx mode |
None |
void PHY_SetChConfig | ( | uint8_t | chan | ) |
Configures the channel.
chan | channel num |
None |
bool PHY_SetExternChannel | ( | uint16_t | rf_channel, |
uint8_t | calibrate | ||
) |
Configures the Low Speed AHB clock (HCLK).
rf_channel | channel number |
calibrate | Whether calibration is required,1(need):0(no need) |
true | or false |
void PHY_SetTrxSeq | ( | enum tx_rx_phy | phy | ) |
Gonfigures the send and receive sequence.
phy | select phy |
None |
void PHY_strt_stp | ( | llhw_phy_strt_stp_phy_e | phy_state | ) |
Start or stop phy action.
phy_state | phy action select |
None |
uint32_t PHY_WriteCfgFifoBatch | ( | const uint32_t * | command, |
const uint32_t | cmd_len, | ||
uint32_t * | ptr_rsp_value | ||
) |
Write fifo batch config .
command | command select |
cmd_len | command lenth |
ptr_rsp_value | point to response value |
None |