The public API for using the RTOS clock control driver.
◆ rtos_clock_control_t
Typedef to the RTOS Clock Control driver instance struct.
◆ rtos_clock_control_init()
Initializes an RTOS clock control driver instance. There should only be one per tile. This must only be called by the tile that owns the driver instance. It may be called either before or after starting the RTOS, but must be called before calling rtos_clock_control_start() or any of the core clock control driver functions with this instance.
- Parameters
-
ctx | A pointer to the GPIO driver instance to initialize. |
◆ rtos_clock_control_start()
Starts an RTOS clock control driver instance. This must only be called by the tile that owns the driver instance. It may be called either before or after starting the RTOS, but must be called before any of the core clock control driver functions are called with this instance.
rtos_clock_control_init() must be called on this clock control driver instance prior to calling this.
- Parameters
-
ctx | A pointer to the clock control driver instance to start. |