Searched refs:HAL_GPIO_DIR_OUT (Results 1 – 8 of 8) sorted by relevance
/AliOS-Things-master/hardware/board/haas100/drivers/ |
A D | ch395_spi.c | 72 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 D | spi.c | 172 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 D | gpio.c | 63 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 D | pwm.c | 64 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 D | gpio.c | 51 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 D | pwm.c | 38 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 D | hal_gpio.h | 16 HAL_GPIO_DIR_OUT = 1, enumerator
|
/AliOS-Things-master/hardware/chip/haas1000/aos_driver/pwm/ |
A D | pwm.c | 54 hal_gpio_pin_set_dir(pinmux_pwm[channel].pin, HAL_GPIO_DIR_OUT, 1); in haas1000_pwm_out_config()
|
Completed in 9 milliseconds