Clock Control (SF32LB specifics)
More...
Clock Control (SF32LB specifics)
◆ SF32LB_CLOCK_DT_INST_SPEC_GET
◆ SF32LB_CLOCK_DT_INST_SPEC_GET_OR
#include <include/zephyr/drivers/clock_control/sf32lb.h>
Same as SF32LB_CLOCK_DT_INST_SPEC_GET but with a default value.
- Parameters
-
| index | DT instance index |
| default_spec | Default value to be used if the node has no clocks property. |
◆ SF32LB_CLOCK_DT_SPEC_GET
| #define SF32LB_CLOCK_DT_SPEC_GET |
( |
|
node_id | ) |
|
#include <include/zephyr/drivers/clock_control/sf32lb.h>
Value: { \
}
#define DEVICE_DT_GET(node_id)
Get a device reference from a devicetree node identifier.
Definition device.h:314
#define DT_CLOCKS_CELL(node_id, cell)
Equivalent to DT_CLOCKS_CELL_BY_IDX(node_id, 0, cell)
Definition clocks.h:254
#define DT_CLOCKS_CTLR(node_id)
Equivalent to DT_CLOCKS_CTLR_BY_IDX(node_id, 0)
Definition clocks.h:147
Initialize a sf32lb_clock_dt_spec structure from a DT node.
- Parameters
-
| node_id | DT node identifier |
◆ SF32LB_CLOCK_DT_SPEC_GET_OR
| #define SF32LB_CLOCK_DT_SPEC_GET_OR |
( |
|
node_id, |
|
|
|
default_spec |
|
) |
| |
#include <include/zephyr/drivers/clock_control/sf32lb.h>
Value:
#define SF32LB_CLOCK_DT_SPEC_GET(node_id)
Initialize a sf32lb_clock_dt_spec structure from a DT node.
Definition sf32lb.h:36
#define DT_CLOCKS_HAS_IDX(node_id, idx)
Test if a node has a clocks phandle-array property at a given index.
Definition clocks.h:53
#define COND_CODE_1(_flag, _if_1_code, _else_code)
Insert code depending on whether _flag expands to 1 or not.
Definition util_macro.h:203
Same as SF32LB_CLOCK_DT_SPEC_GET but with a default value.
- Parameters
-
| node_id | DT node identifier |
| default_spec | Default value to be used if the node has no clocks property. |
◆ sf32lb_clock_control_off_dt()
◆ sf32lb_clock_control_on_dt()
◆ sf32lb_clock_is_ready_dt()