|
| static uint32_t | get_frequency_for_ip_in_common_group (clock_node_t node) |
| | Get Clock frequency for IP in common group. More...
|
| |
| static uint32_t | get_frequency_for_adc (uint32_t clk_src_type, uint32_t instance) |
| | Get Clock frequency for ADC. More...
|
| |
| static uint32_t | get_frequency_for_dac (uint32_t instance) |
| | Get Clock frequency for DAC. More...
|
| |
| static uint32_t | get_frequency_for_ewdg (uint32_t instance) |
| | Get Clock frequency for WDG. More...
|
| |
| static uint32_t | get_frequency_for_pewdg (void) |
| | Get Clock frequency for PWDG. More...
|
| |
| static void | switch_ip_clock (clock_name_t clock_name, bool on) |
| | Turn on/off the IP clock. More...
|
| |
| static uint32_t | get_frequency_for_cpu (void) |
| |
| static uint32_t | get_frequency_for_ahb (void) |
| |
| uint32_t | clock_get_frequency (clock_name_t clock_name) |
| | Get specified IP frequency. More...
|
| |
| uint32_t | get_frequency_for_source (clock_source_t source) |
| | Get Clock frequency for selected clock source. More...
|
| |
| clk_src_t | clock_get_source (clock_name_t clock_name) |
| | Get the IP clock source Note: This API return the direct clock source. More...
|
| |
| hpm_stat_t | clock_wait_source_stable (clock_name_t clock_name) |
| | Wait until the clock source for specified IP clock is stable. More...
|
| |
| uint32_t | clock_get_divider (clock_name_t clock_name) |
| | Get the IP clock divider Note:This API return the direct clock divider. More...
|
| |
| hpm_stat_t | clock_set_adc_source (clock_name_t clock_name, clk_src_t src) |
| | Set ADC clock source. More...
|
| |
| hpm_stat_t | clock_set_dac_source (clock_name_t clock_name, clk_src_t src) |
| | Set DAC clock source. More...
|
| |
| hpm_stat_t | clock_set_wdg_source (clock_name_t clock_name, clk_src_t src) |
| | Set the WDG clock source. More...
|
| |
| hpm_stat_t | clock_set_source_divider (clock_name_t clock_name, clk_src_t src, uint32_t div) |
| | Set the IP clock source and divider. More...
|
| |
| void | clock_enable (clock_name_t clock_name) |
| | Enable IP clock. More...
|
| |
| void | clock_disable (clock_name_t clock_name) |
| | Disable IP clock. More...
|
| |
| void | clock_add_to_group (clock_name_t clock_name, uint32_t group) |
| | Add IP to specified group. More...
|
| |
| void | clock_remove_from_group (clock_name_t clock_name, uint32_t group) |
| | Remove IP from specified group. More...
|
| |
| bool | clock_check_in_group (clock_name_t clock_name, uint32_t group) |
| | Check IP in specified group. More...
|
| |
| void | clock_connect_group_to_cpu (uint32_t group, uint32_t cpu) |
| | Disconnect the clock group from specified CPU. More...
|
| |
| void | clock_disconnect_group_from_cpu (uint32_t group, uint32_t cpu) |
| | Disconnect the clock group from specified CPU. More...
|
| |
| uint32_t | clock_get_core_clock_ticks_per_us (void) |
| | Get core clock ticks per microsecond. More...
|
| |
| uint32_t | clock_get_core_clock_ticks_per_ms (void) |
| | Get core clock ticks per millisecond. More...
|
| |
| void | clock_cpu_delay_us (uint32_t us) |
| | Delay specified microseconds. More...
|
| |
| void | clock_cpu_delay_ms (uint32_t ms) |
| | Delay specified milliseconds. More...
|
| |
| void | clock_update_core_clock (void) |
| | Update the Core clock frequency. More...
|
| |