|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|
The peripheral device operation functions. 更多...
#include <lpm_dev_ops.h>
成员变量 | |
| int(* | power_on )(bool) |
| int(* | power_sts )(void) |
| int(* | set_voltage )(int) |
| int(* | get_voltage )(void) |
| int(* | clock_en )(bool) |
| int(* | clock_sts )(void) |
| int(* | set_freq )(int) |
| int(* | get_freq )(void) |
| int(* | set_div_num )(int) |
| int(* | get_div_num )(void) |
| int(* | sub_clken )(int, bool) |
| int(* | resume )(void) |
| int(* | suspend )(void) |
The peripheral device operation functions.
| int(* lpm_dev_ops_t::clock_en) (bool) |
Enable or disable the device clock switch.
| int(* lpm_dev_ops_t::clock_sts) (void) |
Get the device clock switch status.
| int(* lpm_dev_ops_t::get_div_num) (void) |
Get the clock frequency divider of the device.
| int(* lpm_dev_ops_t::get_freq) (void) |
Get the clock frequency of the device.
| int(* lpm_dev_ops_t::get_voltage) (void) |
Get the device voltage.
| int(* lpm_dev_ops_t::power_on) (bool) |
Power on or power off the device.
| int(* lpm_dev_ops_t::power_sts) (void) |
Get the device power status.
| int(* lpm_dev_ops_t::resume) (void) |
Resume the device.
| int(* lpm_dev_ops_t::set_div_num) (int) |
Set the clock frequency divider of the device.
| int(* lpm_dev_ops_t::set_freq) (int) |
Set the clock frequency of the device.
| int(* lpm_dev_ops_t::set_voltage) (int) |
Config the device voltage.
| int(* lpm_dev_ops_t::sub_clken) (int, bool) |
Enables or disables the clock of a subdevice.
| int(* lpm_dev_ops_t::suspend) (void) |
Suspend the device.