RT-Thread RTOS 1.2.0
An open source embedded real-time operating system
|
#include <clk.h>
成员变量 | |
rt_err_t(* | init )(struct rt_clk *, void *fw_data) |
rt_err_t(* | finit )(struct rt_clk *) |
rt_err_t(* | prepare )(struct rt_clk *) |
void(* | unprepare )(struct rt_clk *) |
rt_bool_t(* | is_prepared )(struct rt_clk *) |
rt_err_t(* | enable )(struct rt_clk *) |
void(* | disable )(struct rt_clk *) |
rt_bool_t(* | is_enabled )(struct rt_clk *) |
rt_err_t(* | set_rate )(struct rt_clk *, rt_ubase_t rate, rt_ubase_t parent_rate) |
rt_err_t(* | set_parent )(struct rt_clk *, struct rt_clk *parent) |
rt_err_t(* | set_phase )(struct rt_clk *, int degrees) |
rt_base_t(* | get_phase )(struct rt_clk *) |
rt_base_t(* | round_rate )(struct rt_clk *, rt_ubase_t drate, rt_ubase_t *prate) |
rt_err_t(* rt_clk_ops::set_rate) (struct rt_clk *, rt_ubase_t rate, rt_ubase_t parent_rate) |
rt_base_t(* rt_clk_ops::round_rate) (struct rt_clk *, rt_ubase_t drate, rt_ubase_t *prate) |