Searched refs:PIN_HIGH (Results 1 – 11 of 11) 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() 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 D | dev_spi_bit_ops.c | 500 rt_pin_write(cs_pin, PIN_HIGH); in spi_bit_xfer() 553 rt_pin_write(cs_pin, PIN_HIGH); in spi_bit_xfer()
|
| A D | dev_qspi_core.c | 34 rt_pin_write(device->parent.cs_pin, PIN_HIGH); in rt_qspi_configure()
|
| A D | dev_spi_core.c | 190 rt_pin_write(device->cs_pin, PIN_HIGH); in rt_spi_configure()
|
| /components/drivers/regulator/ |
| 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() 72 return active == PIN_HIGH; in regulator_fixed_is_enabled()
|
| 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() 99 rt_uint8_t active_val = param->enable_active_high ? PIN_LOW : PIN_HIGH; in regulator_gpio_is_enabled()
|
| /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() 215 rt_pin_write(cfg->scl_pin, PIN_HIGH); in i2c_bus_unlock()
|
| /components/drivers/pin/ |
| A D | dev_pin_ofw.c | 122 value = PIN_HIGH; in rt_ofw_get_named_pin()
|
| A D | dev_pin.c | 303 if (value == PIN_HIGH) in _pin_cmd_read() 339 value = PIN_HIGH; in _pin_cmd_write()
|
| /components/drivers/led/ |
| A D | led-gpio.c | 71 case PIN_HIGH: in gpio_led_get_state()
|
| /components/drivers/include/drivers/ |
| A D | dev_pin.h | 114 #define PIN_HIGH 0x01 /*!< high level */ macro
|
Completed in 15 milliseconds