Searched refs:GPIO_PORT (Results 1 – 13 of 13) sorted by relevance
| /platform/stm32f1xx/ |
| A D | gpio.c | 48 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 D | gpio.c | 52 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 D | gpio.c | 52 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 D | gpio.c | 82 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 D | gpio.c | 89 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 D | gpio.h | 12 #define GPIO_PORT(gpio) (((gpio) >> 8) & 0xff) macro
|
| /platform/stm32f2xx/include/platform/ |
| A D | gpio.h | 13 #define GPIO_PORT(gpio) (((gpio) >> 8) & 0xff) macro
|
| /platform/stm32f4xx/include/platform/ |
| A D | gpio.h | 13 #define GPIO_PORT(gpio) (((gpio) >> 8) & 0xff) macro
|
| /platform/stellaris/include/platform/ |
| A D | gpio.h | 14 #define GPIO_PORT(gpio) (((gpio) >> 4) & 0xf) macro
|
| /platform/stm32f0xx/include/platform/ |
| A D | gpio.h | 15 #define GPIO_PORT(gpio) (((gpio) >> 8) & 0xff) macro
|
| /platform/lpc15xx/include/platform/ |
| A D | gpio.h | 15 #define GPIO_PORT(gpio) (((gpio) >> 4) & 0xf)
|
| /platform/stm32f7xx/include/platform/ |
| A D | gpio.h | 15 #define GPIO_PORT(gpio) (((gpio) >> 8) & 0xff) macro
|
| /platform/stm32f0xx/ |
| A D | gpio.c | 126 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 17 milliseconds