Searched refs:rt_pin_write (Results 1 – 10 of 10) sorted by relevance
| /components/drivers/spi/ |
| A D | dev_soft_spi.c | 128 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() 139 rt_pin_write(cfg->sck, PIN_LOW); 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() 156 rt_pin_write(cfg->sck, PIN_LOW); in spi_soft_set_sclk() 165 rt_pin_write(cfg->mosi, PIN_HIGH); in spi_soft_set_mosi() 169 rt_pin_write(cfg->mosi, PIN_LOW); in spi_soft_set_mosi() 178 rt_pin_write(cfg->miso, PIN_HIGH); in spi_soft_set_miso() [all …]
|
| A D | dev_spi_bit_ops.c | 500 rt_pin_write(cs_pin, PIN_HIGH); in spi_bit_xfer() 504 rt_pin_write(cs_pin, PIN_LOW); in spi_bit_xfer() 549 rt_pin_write(cs_pin, PIN_LOW); in spi_bit_xfer() 553 rt_pin_write(cs_pin, PIN_HIGH); in spi_bit_xfer()
|
| A D | dev_qspi_core.c | 30 rt_pin_write(device->parent.cs_pin, PIN_LOW); in rt_qspi_configure() 34 rt_pin_write(device->parent.cs_pin, PIN_HIGH); in rt_qspi_configure()
|
| A D | dev_spi_core.c | 186 rt_pin_write(device->cs_pin, PIN_LOW); in rt_spi_configure() 190 rt_pin_write(device->cs_pin, PIN_HIGH); in rt_spi_configure()
|
| /components/drivers/i2c/ |
| A D | dev_soft_i2c.c | 147 rt_pin_write(cfg->scl_pin, PIN_HIGH); in pin_init() 148 rt_pin_write(cfg->sda_pin, PIN_HIGH); in pin_init() 159 rt_pin_write(((const struct soft_i2c_config*)cfg)->sda_pin, value); in set_sda() 169 rt_pin_write(((const struct soft_i2c_config*)cfg)->scl_pin, value); in set_scl() 215 rt_pin_write(cfg->scl_pin, PIN_HIGH); in i2c_bus_unlock() 217 rt_pin_write(cfg->scl_pin, PIN_LOW); in i2c_bus_unlock()
|
| /components/drivers/regulator/ |
| A D | regulator-gpio.c | 62 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() 138 rt_pin_write(gpiod->pin, gpiod->flags == PIND_OUT_HIGH ? state : !state); in regulator_gpio_set_voltage()
|
| A D | regulator-fixed.c | 35 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()
|
| /components/drivers/led/ |
| A D | led-gpio.c | 38 rt_pin_write(gled->pin, !gled->active_val); in gpio_led_set_state() 42 rt_pin_write(gled->pin, gled->active_val); in gpio_led_set_state()
|
| /components/drivers/pin/ |
| A D | dev_pin.c | 152 void rt_pin_write(rt_base_t pin, rt_ssize_t value) in rt_pin_write() function 350 rt_pin_write(pin, value); in _pin_cmd_write()
|
| /components/drivers/include/drivers/ |
| A D | dev_pin.h | 251 void rt_pin_write(rt_base_t pin, rt_ssize_t value);
|
Completed in 12 milliseconds