Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
regulator_driver_api Struct Reference

@driver_ops{Regulator} More...

#include <regulator.h>

Data Fields

regulator_enable_t enable
 @driver_ops_optional Enable a regulator.
regulator_disable_t disable
 @driver_ops_optional Disable a regulator.
regulator_count_voltages_t count_voltages
 @driver_ops_optional Obtain the number of supported voltage levels.
regulator_list_voltage_t list_voltage
 @driver_ops_optional Obtain the value of a voltage given an index.
regulator_set_voltage_t set_voltage
 @driver_ops_optional Set the output voltage.
regulator_get_voltage_t get_voltage
 @driver_ops_optional Obtain output voltage.
regulator_count_current_limits_t count_current_limits
 @driver_ops_optional Obtain the number of supported current limit levels.
regulator_list_current_limit_t list_current_limit
 @driver_ops_optional Obtain the value of a current limit given an index.
regulator_set_current_limit_t set_current_limit
 @driver_ops_optional Set output current limit.
regulator_get_current_limit_t get_current_limit
 @driver_ops_optional Get output current limit.
regulator_set_mode_t set_mode
 @driver_ops_optional Set mode.
regulator_get_mode_t get_mode
 @driver_ops_optional Get mode.
regulator_set_active_discharge_t set_active_discharge
 @driver_ops_optional Set active discharge setting.
regulator_get_active_discharge_t get_active_discharge
 @driver_ops_optional Get active discharge setting.
regulator_get_error_flags_t get_error_flags
 @driver_ops_optional Get active error flags.
regulator_set_callback_t set_callback
 @driver_ops_optional Set event handler function.

Detailed Description

@driver_ops{Regulator}

Field Documentation

◆ count_current_limits

regulator_count_current_limits_t regulator_driver_api::count_current_limits

@driver_ops_optional Obtain the number of supported current limit levels.

◆ count_voltages

regulator_count_voltages_t regulator_driver_api::count_voltages

@driver_ops_optional Obtain the number of supported voltage levels.

◆ disable

regulator_disable_t regulator_driver_api::disable

@driver_ops_optional Disable a regulator.

◆ enable

regulator_enable_t regulator_driver_api::enable

@driver_ops_optional Enable a regulator.

◆ get_active_discharge

regulator_get_active_discharge_t regulator_driver_api::get_active_discharge

@driver_ops_optional Get active discharge setting.

◆ get_current_limit

regulator_get_current_limit_t regulator_driver_api::get_current_limit

@driver_ops_optional Get output current limit.

◆ get_error_flags

regulator_get_error_flags_t regulator_driver_api::get_error_flags

@driver_ops_optional Get active error flags.

◆ get_mode

regulator_get_mode_t regulator_driver_api::get_mode

@driver_ops_optional Get mode.

◆ get_voltage

regulator_get_voltage_t regulator_driver_api::get_voltage

@driver_ops_optional Obtain output voltage.

◆ list_current_limit

regulator_list_current_limit_t regulator_driver_api::list_current_limit

@driver_ops_optional Obtain the value of a current limit given an index.

◆ list_voltage

regulator_list_voltage_t regulator_driver_api::list_voltage

@driver_ops_optional Obtain the value of a voltage given an index.

◆ set_active_discharge

regulator_set_active_discharge_t regulator_driver_api::set_active_discharge

@driver_ops_optional Set active discharge setting.

◆ set_callback

regulator_set_callback_t regulator_driver_api::set_callback

@driver_ops_optional Set event handler function.

◆ set_current_limit

regulator_set_current_limit_t regulator_driver_api::set_current_limit

@driver_ops_optional Set output current limit.

◆ set_mode

regulator_set_mode_t regulator_driver_api::set_mode

@driver_ops_optional Set mode.

◆ set_voltage

regulator_set_voltage_t regulator_driver_api::set_voltage

@driver_ops_optional Set the output voltage.


The documentation for this struct was generated from the following file: