PHY Selector#

The RAIL PHY Selector component allows the application to select the PHY configuration for communication. This component is useful for applications that need to switch between different PHY settings to optimize performance or comply with different communication standards. The component provides functions to set and get the selected PHY, ensuring that the application can easily switch PHY configurations as needed.

Key functions include:

Functions#

uint8_t
set_selected_phy(uint16_t new_phy)

Set the PHY the app will use.

uint16_t

Get the currently selected PHY number.

Function Documentation#

set_selected_phy#

uint8_t set_selected_phy (uint16_t new_phy)

Set the PHY the app will use.

Parameters
[in]new_phy

The requested new PHY number.

Returns

  • 1 if the PHY number is valid, otherwise 0.


Definition at line 71 of file /mnt/raid/workspaces/ws.bVpTDXqvc/overlay/gsdk/app/rail/component/sl_rail_sdk_phy_selector/sl_rail_sdk_phy_selector.h

get_selected_phy#

uint16_t get_selected_phy (void )

Get the currently selected PHY number.

Parameters
N/A

Returns

  • The selected PHY number.


Definition at line 77 of file /mnt/raid/workspaces/ws.bVpTDXqvc/overlay/gsdk/app/rail/component/sl_rail_sdk_phy_selector/sl_rail_sdk_phy_selector.h