Home
last modified time | relevance | path

Searched refs:PIN_HIGH (Results 1 – 11 of 11) sorted by relevance

/components/drivers/spi/
A Ddev_soft_spi.c128 rt_pin_write(cfg->miso, PIN_HIGH); in spi_soft_pin_init()
129 rt_pin_write(cfg->sck, PIN_HIGH); in spi_soft_pin_init()
130 rt_pin_write(cfg->mosi, PIN_HIGH); in spi_soft_pin_init()
137 if(rt_pin_read(cfg->sck) == PIN_HIGH) in spi_soft_tog_sclk()
143 rt_pin_write(cfg->sck, PIN_HIGH); in spi_soft_tog_sclk()
152 rt_pin_write(cfg->sck, PIN_HIGH); in spi_soft_set_sclk()
165 rt_pin_write(cfg->mosi, PIN_HIGH); in spi_soft_set_mosi()
178 rt_pin_write(cfg->miso, PIN_HIGH); in spi_soft_set_miso()
A Ddev_spi_bit_ops.c500 rt_pin_write(cs_pin, PIN_HIGH); in spi_bit_xfer()
553 rt_pin_write(cs_pin, PIN_HIGH); in spi_bit_xfer()
A Ddev_qspi_core.c34 rt_pin_write(device->parent.cs_pin, PIN_HIGH); in rt_qspi_configure()
A Ddev_spi_core.c190 rt_pin_write(device->cs_pin, PIN_HIGH); in rt_spi_configure()
/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()
72 return active == PIN_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()
/components/drivers/i2c/
A Ddev_soft_i2c.c147 rt_pin_write(cfg->scl_pin, PIN_HIGH); in pin_init()
148 rt_pin_write(cfg->sda_pin, PIN_HIGH); in pin_init()
215 rt_pin_write(cfg->scl_pin, PIN_HIGH); in i2c_bus_unlock()
/components/drivers/pin/
A Ddev_pin_ofw.c122 value = PIN_HIGH; in rt_ofw_get_named_pin()
A Ddev_pin.c303 if (value == PIN_HIGH) in _pin_cmd_read()
339 value = PIN_HIGH; in _pin_cmd_write()
/components/drivers/led/
A Dled-gpio.c71 case PIN_HIGH: in gpio_led_get_state()
/components/drivers/include/drivers/
A Ddev_pin.h114 #define PIN_HIGH 0x01 /*!< high level */ macro

Completed in 11 milliseconds