|
SmartSnippets DA1459x SDK
|
Clock Manager header file. More...
Go to the source code of this file.
Functions | |
| void | cm_sys_clk_init (sys_clk_t type) |
| Initialize clocks after power-up. More... | |
| void | cm_sys_clk_set_priority (sys_clk_t *sys_clk_prio_array) |
| Set the system clock priority. More... | |
| cm_sys_clk_status_t | cm_sys_clk_request (sys_clk_t type) |
| Request for system clock switch. More... | |
| cm_sys_clk_status_t | cm_sys_clk_release (sys_clk_t type) |
| Restores the system clock. It terminates a matching request. More... | |
| void | cm_apb_set_clock_divider (apb_div_t div) |
| Change the divider of the AMBA Peripheral Bus clock. More... | |
| bool | cm_ahb_set_clock_divider (ahb_div_t div) |
| Change the divider of the AMBA High speed Bus clock. More... | |
| sys_clk_t | cm_sys_clk_get (void) |
| Returns the sys_clk that the system uses at that moment. More... | |
| sys_clk_t | cm_sys_clk_get_fromISR (void) |
| Returns the sys_clk that the system uses at that moment (interrupt safe version). More... | |
| apb_div_t | cm_apb_get_clock_divider (void) |
| Returns the AMBA Peripheral Bus clock divider. More... | |
| ahb_div_t | cm_ahb_get_clock_divider (void) |
| Returns the AMBA High speed Bus clock divider. More... | |
| cpu_clk_t | cm_cpu_clk_get (void) |
| Returns the CPU clock frequency. More... | |
| cpu_clk_t | cm_cpu_clk_get_fromISR (void) |
| Returns the CPU clock frequency (interrupt safe). More... | |
| void | cm_calibrate_rclp (void) |
| Calibrate RCLP. | |
| void | cm_calibrate_rc32m (void) |
| Calibrate RC32M. | |
| void | cm_wait_xtalm_ready (void) |
| Block until the fast XTAL clock (XTALxxM) is ready. If the fast XTAL clock (XTALxxM) is running then the function exits immediately. More... | |
| void | cm_wait_dblr_ready (void) |
| Block until the Doubler is ready. More... | |
| __RETAINED_CODE bool | cm_poll_xtalm_ready (void) |
| Check if the fast XTAL clock (XTALxxM) is ready. More... | |
| void | cm_enable_xtalm (void) |
| Start the fast XTAL clock (XTALxxM) More... | |
| __RETAINED_CODE void | cm_sys_clk_sleep (bool entering_sleep) |
| Set the system clock (unprotected). More... | |
| __RETAINED_CODE void | cm_halt_until_xtalm_ready (void) |
| Halt until the fast XTAL clock (XTALxxM) has settled. More... | |
| void | cm_register_xtal_ready_callback (void(*cb)(void)) |
| Register a callback function to be called then XTAL32M is ready. More... | |
| __RETAINED_CODE void | cm_halt_until_sysclk_ready (void) |
| Halt until system clock (either PLL or XTAL32M) is ready. More... | |
Clock Manager header file.
Copyright (C) 2017-2023 Renesas Electronics Corporation and/or its affiliates. All rights reserved. Confidential Information.
This software ("Software") is supplied by Renesas Electronics Corporation and/or its affiliates ("Renesas"). Renesas grants you a personal, non-exclusive, non-transferable, revocable, non-sub-licensable right and license to use the Software, solely if used in or together with Renesas products. You may make copies of this Software, provided this copyright notice and disclaimer ("Notice") is included in all such copies. Renesas reserves the right to change or discontinue the Software at any time without notice.
THE SOFTWARE IS PROVIDED "AS IS". RENESAS DISCLAIMS ALL WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, OR STATUTORY, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. TO THE MAXIMUM EXTENT PERMITTED UNDER LAW, IN NO EVENT SHALL RENESAS BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE, EVEN IF RENESAS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. USE OF THIS SOFTWARE MAY BE SUBJECT TO TERMS AND CONDITIONS CONTAINED IN AN ADDITIONAL AGREEMENT BETWEEN YOU AND RENESAS. IN CASE OF CONFLICT BETWEEN THE TERMS OF THIS NOTICE AND ANY SUCH ADDITIONAL LICENSE AGREEMENT, THE TERMS OF THE AGREEMENT SHALL TAKE PRECEDENCE. BY CONTINUING TO USE THIS SOFTWARE, YOU AGREE TO THE TERMS OF THIS NOTICE.IF YOU DO NOT AGREE TO THESE TERMS, YOU ARE NOT PERMITTED TO USE THIS SOFTWARE.
1.8.16