Home
last modified time | relevance | path

Searched refs:HAL_GPIO_DIR_OUT (Results 1 – 8 of 8) sorted by relevance

/AliOS-Things-master/hardware/board/haas100/drivers/
A Dch395_spi.c72 hal_gpio_pin_set_dir(HAL_IOMUX_PIN_P3_3, HAL_GPIO_DIR_OUT, 0); in ch395_device_dereset()
76 hal_gpio_pin_set_dir(HAL_IOMUX_PIN_P3_3, HAL_GPIO_DIR_OUT, 1); in ch395_device_dereset()
165 hal_gpio_pin_set_dir(spi_ctx[spi->port].spi_pin_CS0, HAL_GPIO_DIR_OUT, 1); in hal_ch395_spi_init()
237 hal_gpio_pin_set_dir(spi_ctx[spi->port].spi_pin_CS0, HAL_GPIO_DIR_OUT, 0); in hal_spi_send_ch395()
290 hal_gpio_pin_set_dir(spi_ctx[spi->port].spi_pin_CS0, HAL_GPIO_DIR_OUT, 1); in hal_spi_send_ch395()
332 hal_gpio_pin_set_dir(spi_ctx[spi->port].spi_pin_CS0, HAL_GPIO_DIR_OUT, 0); in hal_spi_send_ch395_sockdata()
402 hal_gpio_pin_set_dir(spi_ctx[spi->port].spi_pin_CS0, HAL_GPIO_DIR_OUT, 1); in hal_spi_send_ch395_sockdata()
444 hal_gpio_pin_set_dir(spi_ctx[spi->port].spi_pin_CS0, HAL_GPIO_DIR_OUT, 0); in hal_spi_send_and_recv_ch395_normal()
525 hal_gpio_pin_set_dir(spi_ctx[spi->port].spi_pin_CS0, HAL_GPIO_DIR_OUT, 1); in hal_spi_send_and_recv_ch395_normal()
557 hal_gpio_pin_set_dir(spi_ctx[spi->port].spi_pin_CS0, HAL_GPIO_DIR_OUT, 0); in hal_spi_send_and_recv_ch395_exist()
[all …]
/AliOS-Things-master/hardware/chip/haas1000/hal/
A Dspi.c172 hal_gpio_pin_set_dir(spi_ctx[spi->port].spi_pin_CS0, HAL_GPIO_DIR_OUT, 1); in hal_spi_init()
266 hal_gpio_pin_set_dir(spi_ctx[spi->port].spi_pin_CS0, HAL_GPIO_DIR_OUT, 0); in hal_spi_send()
292 hal_gpio_pin_set_dir(spi_ctx[spi->port].spi_pin_CS0, HAL_GPIO_DIR_OUT, 1); in hal_spi_send()
347 hal_gpio_pin_set_dir(spi_ctx[spi->port].spi_pin_CS0, HAL_GPIO_DIR_OUT, 0); in hal_spi_recv()
378 hal_gpio_pin_set_dir(spi_ctx[spi->port].spi_pin_CS0, HAL_GPIO_DIR_OUT, 1); in hal_spi_recv()
422 hal_gpio_pin_set_dir(spi_ctx[spi->port].spi_pin_CS0, HAL_GPIO_DIR_OUT, 0); in hal_spi_send_and_recv()
453 hal_gpio_pin_set_dir(spi_ctx[spi->port].spi_pin_CS0, HAL_GPIO_DIR_OUT, 1); in hal_spi_send_and_recv()
502 hal_gpio_pin_set_dir(spi_ctx[spi->port].spi_pin_CS0, HAL_GPIO_DIR_OUT, 0); in hal_spi_send_recv()
546 hal_gpio_pin_set_dir(spi_ctx[spi->port].spi_pin_CS0, HAL_GPIO_DIR_OUT, 1); in hal_spi_send_recv()
A Dgpio.c63 hal_gpio_pin_set_dir((enum HAL_GPIO_PIN_T)gpio->port, HAL_GPIO_DIR_OUT, 1); in hal_gpio_output_high()
79 hal_gpio_pin_set_dir((enum HAL_GPIO_PIN_T)gpio->port, HAL_GPIO_DIR_OUT, 0); in hal_gpio_output_low()
97 hal_gpio_pin_set_dir((enum HAL_GPIO_PIN_T)gpio->port, HAL_GPIO_DIR_OUT, level); in hal_gpio_output_toggle()
A Dpwm.c64 hal_gpio_pin_set_dir(pinmux_pwm[pwm->port].pin, HAL_GPIO_DIR_OUT, 1); in hal_pwm_init()
/AliOS-Things-master/hardware/chip/haas1000/csi/
A Dgpio.c51 d = (dir == GPIO_DIRECTION_INPUT) ? HAL_GPIO_DIR_IN : HAL_GPIO_DIR_OUT; in csi_gpio_dir()
89 d = HAL_GPIO_DIR_OUT; in csi_gpio_mode()
93 d = HAL_GPIO_DIR_OUT; in csi_gpio_mode()
190 hal_gpio_pin_set_dir(pin, HAL_GPIO_DIR_OUT, !!value); in csi_gpio_write()
A Dpwm.c38 hal_gpio_pin_set_dir(pinmux_pwm[channel].pin, HAL_GPIO_DIR_OUT, 1); in csi_pwm_out_config()
/AliOS-Things-master/hardware/chip/haas1000/drivers/platform/hal/
A Dhal_gpio.h16 HAL_GPIO_DIR_OUT = 1, enumerator
/AliOS-Things-master/hardware/chip/haas1000/aos_driver/pwm/
A Dpwm.c54 hal_gpio_pin_set_dir(pinmux_pwm[channel].pin, HAL_GPIO_DIR_OUT, 1); in haas1000_pwm_out_config()

Completed in 9 milliseconds