PAN1080 Peripheral API
Modules | Functions
Phy Interface

Phy Interface. More...

Collaboration diagram for Phy Interface:

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...
 

Detailed Description

Phy Interface.

Function Documentation

◆ PHY_init()

void PHY_init ( void  )

Phy init.

Return values
None

◆ PHY_reset()

void PHY_reset ( void  )

Reset phy.

Return values
None

◆ PHY_ResetChannel()

void PHY_ResetChannel ( void  )

Reset channel config.

Return values
None

◆ phy_set_time_cfg()

uint8_t phy_set_time_cfg ( uint8_t  phy,
uint8_t  tx1rx0 
)

Gonfigures the send and receive time.

Parameters
physelect phy
tx1rx0select tx or rx mode
Return values
None

◆ PHY_SetChConfig()

void PHY_SetChConfig ( uint8_t  chan)

Configures the channel.

Parameters
chanchannel num
Return values
None

◆ PHY_SetExternChannel()

bool PHY_SetExternChannel ( uint16_t  rf_channel,
uint8_t  calibrate 
)

Configures the Low Speed AHB clock (HCLK).

Parameters
rf_channelchannel number
calibrateWhether calibration is required,1(need):0(no need)
Return values
trueor false

◆ PHY_SetTrxSeq()

void PHY_SetTrxSeq ( enum tx_rx_phy  phy)

Gonfigures the send and receive sequence.

Parameters
physelect phy
Return values
None

◆ PHY_strt_stp()

void PHY_strt_stp ( llhw_phy_strt_stp_phy_e  phy_state)

Start or stop phy action.

Parameters
phy_statephy action select
Return values
None

◆ PHY_WriteCfgFifoBatch()

uint32_t PHY_WriteCfgFifoBatch ( const uint32_t *  command,
const uint32_t  cmd_len,
uint32_t *  ptr_rsp_value 
)

Write fifo batch config .

Parameters
commandcommand select
cmd_lencommand lenth
ptr_rsp_valuepoint to response value
Return values
None