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:
set_selected_phy(): Sets the PHY configuration for communication.
get_selected_phy(): Retrieves the current PHY configuration.
Functions#
Set the PHY the app will use.
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.
[in] | new_phy | The requested new PHY number. |
Returns
1 if the PHY number is valid, otherwise 0.
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.
N/A |
Returns
The selected PHY number.
77
of file /mnt/raid/workspaces/ws.bVpTDXqvc/overlay/gsdk/app/rail/component/sl_rail_sdk_phy_selector/sl_rail_sdk_phy_selector.h