![]() |
RT-Thread RTOS
An open source embedded real-time operating system
|
#include <clk.h>
Data Fields | |
| rt_ubase_t | rate |
| const char * | parent_name |
Clock cell - represents a single hardware clock element.
A clk_cell is the fundamental unit of a clock tree, such as a PLL, divider, mux, or gate. It maintains its relationship to parent clocks using pointers, not lists, for lightweight hierarchy management.
The 'ops' field defines hardware-specific callbacks. The framework invokes these during enable, disable, and rate changes.
| const char* rt_clk_cell::parent_name |
When parents_nr = 1
| rt_ubase_t rt_clk_cell::rate |
Cached or fixed rate (not always accurate)