RTEMS
5.0.0
|
Typedefs | |
typedef enum ALT_CLK_PLL_LOCK_STATUS_e | ALT_CLK_PLL_LOCK_STATUS_t |
Enumerations | |
enum | ALT_CLK_PLL_LOCK_STATUS_e { ALT_MAIN_PLL_LOCK_ACHV = 0x00000001, ALT_PERIPH_PLL_LOCK_ACHV = 0x00000002, ALT_SDR_PLL_LOCK_ACHV = 0x00000004, ALT_MAIN_PLL_LOCK_LOST = 0x00000008, ALT_PERIPH_PLL_LOCK_LOST = 0x00000010, ALT_SDR_PLL_LOCK_LOST = 0x00000020 } |
Functions | |
ALT_STATUS_CODE | alt_clk_lock_status_clear (ALT_CLK_PLL_LOCK_STATUS_t lock_stat_mask) |
uint32_t | alt_clk_lock_status_get (void) |
ALT_STATUS_CODE | alt_clk_pll_is_locked (ALT_CLK_t pll) |
This functional group provides status information on various aspects and properties of the Clock Manager state.
typedef enum ALT_CLK_PLL_LOCK_STATUS_e ALT_CLK_PLL_LOCK_STATUS_t |
This type definition defines the lock condition status codes for each of the PLLs. If the PLL lock status condition is enabled (See: alt_clk_irq_enable()) then it contributes to the overall clkmgr_IRQ signal assertion state.
This type definition defines the lock condition status codes for each of the PLLs. If the PLL lock status condition is enabled (See: alt_clk_irq_enable()) then it contributes to the overall clkmgr_IRQ signal assertion state.
ALT_STATUS_CODE alt_clk_lock_status_clear | ( | ALT_CLK_PLL_LOCK_STATUS_t | lock_stat_mask | ) |
Clear the selected PLL lock status conditions.
This function clears assertions of one or more of the PLL lock status conditions.
NOTE: This function is used to clear clkmgr_IRQ interrupt signal source assertion conditions.
lock_stat_mask | Specifies the PLL lock status conditions to clear. lock_stat_mask is a mask of logically OR'ed ALT_CLK_PLL_LOCK_STATUS_t values designating the PLL lock conditions to clear. |
ALT_E_SUCCESS | Successful status. |
ALT_E_BAD_ARG | The lock_stat_mask argument contains an unknown condition value. |
uint32_t alt_clk_lock_status_get | ( | void | ) |
Returns the PLL lock status condition values.
This function returns the value of the PLL lock status conditions.
ALT_STATUS_CODE alt_clk_pll_is_locked | ( | ALT_CLK_t | pll | ) |
Returns ALT_E_TRUE if the designated PLL is currently locked and ALT_E_FALSE otherwise.
pll | The PLL to return the lock status of. |
ALT_E_TRUE | The specified PLL is currently locked. |
ALT_E_FALSE | The specified PLL is currently not locked. |
ALT_E_BAD_ARG | The pll argument designates a non PLL clock value. |