Home
last modified time | relevance | path

Searched refs:GPIO_PORT (Results 1 – 13 of 13) sorted by relevance

/platform/stm32f1xx/
A Dgpio.c48 uint port = GPIO_PORT(nr); in gpio_config()
84 GPIO_WriteBit(port_to_pointer(GPIO_PORT(nr)), 1 << GPIO_PIN(nr), on); in gpio_set()
88 return GPIO_ReadInputDataBit(port_to_pointer(GPIO_PORT(nr)), 1 << GPIO_PIN(nr)); in gpio_get()
/platform/stm32f2xx/
A Dgpio.c52 uint port = GPIO_PORT(nr); in gpio_config()
89 GPIO_WriteBit(port_to_pointer(GPIO_PORT(nr)), 1 << GPIO_PIN(nr), on); in gpio_set()
93 return GPIO_ReadInputDataBit(port_to_pointer(GPIO_PORT(nr)), 1 << GPIO_PIN(nr)); in gpio_get()
/platform/stm32f4xx/
A Dgpio.c52 uint port = GPIO_PORT(nr); in gpio_config()
89 GPIO_WriteBit(port_to_pointer(GPIO_PORT(nr)), 1 << GPIO_PIN(nr), on); in gpio_set()
93 return GPIO_ReadInputDataBit(port_to_pointer(GPIO_PORT(nr)), 1 << GPIO_PIN(nr)); in gpio_get()
/platform/stellaris/
A Dgpio.c82 uint port = GPIO_PORT(nr);
119 …GPIOPinWrite((unsigned int)port_to_pointer(GPIO_PORT(nr)), 1 << GPIO_PIN(nr), on ? (1 << GPIO_PIN(… in gpio_set()
123 return GPIOPinRead((unsigned int)port_to_pointer(GPIO_PORT(nr)), 1 << GPIO_PIN(nr)); in gpio_get()
/platform/stm32f7xx/
A Dgpio.c89 uint port = GPIO_PORT(nr); in gpio_config()
133 HAL_GPIO_WritePin(port_to_pointer(GPIO_PORT(nr)), 1 << GPIO_PIN(nr), on); in gpio_set()
137 return HAL_GPIO_ReadPin(port_to_pointer(GPIO_PORT(nr)), 1 << GPIO_PIN(nr)); in gpio_get()
/platform/stm32f1xx/include/platform/
A Dgpio.h12 #define GPIO_PORT(gpio) (((gpio) >> 8) & 0xff) macro
/platform/stm32f2xx/include/platform/
A Dgpio.h13 #define GPIO_PORT(gpio) (((gpio) >> 8) & 0xff) macro
/platform/stm32f4xx/include/platform/
A Dgpio.h13 #define GPIO_PORT(gpio) (((gpio) >> 8) & 0xff) macro
/platform/stellaris/include/platform/
A Dgpio.h14 #define GPIO_PORT(gpio) (((gpio) >> 4) & 0xf) macro
/platform/stm32f0xx/include/platform/
A Dgpio.h15 #define GPIO_PORT(gpio) (((gpio) >> 8) & 0xff) macro
/platform/lpc15xx/include/platform/
A Dgpio.h15 #define GPIO_PORT(gpio) (((gpio) >> 4) & 0xf)
/platform/stm32f7xx/include/platform/
A Dgpio.h15 #define GPIO_PORT(gpio) (((gpio) >> 8) & 0xff) macro
/platform/stm32f0xx/
A Dgpio.c126 uint32_t port = GPIO_PORT(nr); in gpio_config()
178 stm32_gpio_t *gpio = stm32_gpio_port_to_pointer(GPIO_PORT(nr)); in gpio_set()
187 stm32_gpio_t *gpio = stm32_gpio_port_to_pointer(GPIO_PORT(nr)); in gpio_get()

Completed in 11 milliseconds