Clock controller of one clock that always runs at the same rate, as a crystal.
More...
|
| #define | PBL_CLK_FIXED_DEFINE(sym, _name, _rate_hz) |
| | Define a fixed-rate clock, clock 0 of its controller.
|
| |
Clock controller of one clock that always runs at the same rate, as a crystal.
#define PBL_CLK_FIXED_DEFINE(sym, _name, _rate_hz)
Define a fixed-rate clock, clock 0 of its controller.
Definition fixed.h:41
◆ pbl_clk_fixed
◆ PBL_CLK_FIXED_DEFINE
| #define PBL_CLK_FIXED_DEFINE |
( |
|
sym, |
|
|
|
_name, |
|
|
|
_rate_hz |
|
) |
| |
Value:
.rate_hz = (_rate_hz), \
}
Fixed-rate clock.
Definition fixed.h:23
A clock controller.
Definition clk.h:75
#define PBL_CLK_CONTROLLER_STATE_DEFINE(sym, _num_clks)
Define the class state of clock controller sym, for the driver's define macro.
Definition clk.h:96
#define PBL_CLK_CONTROLLER_INIT(sym, _name, _init, _parent, _ops)
Initializer for the struct pbl_clk_controller of controller sym.
Definition clk.h:110
Define a fixed-rate clock, clock 0 of its controller.
- Parameters
-
| sym | Symbol of the clock controller. |
| _name | Name. |
| _rate_hz | Rate in Hz. |