Home
last modified time | relevance | path

Searched refs:enable_active_high (Results 1 – 4 of 4) sorted by relevance

/components/drivers/regulator/
A Dregulator-fixed.c35 rt_pin_write(rf->enable_pin, param->enable_active_high ? PIN_HIGH : PIN_LOW); in regulator_fixed_enable()
51 rt_pin_write(rf->enable_pin, param->enable_active_high ? PIN_LOW: PIN_HIGH); in regulator_fixed_disable()
70 if (param->enable_active_high) in regulator_fixed_is_enabled()
A Dregulator-gpio.c62 rt_pin_write(rg->enable_pin, param->enable_active_high ? PIN_HIGH : PIN_LOW); in regulator_gpio_enable()
81 rt_pin_write(rg->enable_pin, param->enable_active_high ? PIN_LOW : PIN_HIGH); in regulator_gpio_disable()
99 rt_uint8_t active_val = param->enable_active_high ? PIN_LOW : PIN_HIGH; in regulator_gpio_is_enabled()
A Dregulator_dm.c50 param->enable_active_high = rt_ofw_prop_read_bool(np, "enable-active-high"); in regulator_ofw_parse()
/components/drivers/include/drivers/
A Dregulator.h34 rt_uint32_t enable_active_high:1; member

Completed in 4 milliseconds