Searched refs:GPIO_PIN (Results 1 – 14 of 14) sorted by relevance
/lk-master/platform/stellaris/ |
A D | gpio.c | 83 uint pin = GPIO_PIN(nr); 119 …PinWrite((unsigned int)port_to_pointer(GPIO_PORT(nr)), 1 << GPIO_PIN(nr), on ? (1 << GPIO_PIN(nr))… in gpio_set() 123 return GPIOPinRead((unsigned int)port_to_pointer(GPIO_PORT(nr)), 1 << GPIO_PIN(nr)); in gpio_get()
|
/lk-master/platform/stm32f1xx/ |
A D | gpio.c | 49 uint pin = GPIO_PIN(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()
|
/lk-master/platform/stm32f0xx/ |
A D | gpio.c | 127 uint32_t pin = GPIO_PIN(nr); in gpio_config() 180 gpio->BSRR = 1 << GPIO_PIN(nr); in gpio_set() 182 gpio->BRR = 1 << GPIO_PIN(nr); in gpio_set() 188 return (gpio->IDR & (1 << GPIO_PIN(nr))) != 0; in gpio_get()
|
/lk-master/platform/stm32f2xx/ |
A D | gpio.c | 53 uint pin = GPIO_PIN(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()
|
/lk-master/platform/stm32f4xx/ |
A D | gpio.c | 53 uint pin = GPIO_PIN(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()
|
/lk-master/platform/stm32f7xx/ |
A D | gpio.c | 90 uint pin = GPIO_PIN(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()
|
/lk-master/platform/stm32f1xx/include/platform/ |
A D | gpio.h | 13 #define GPIO_PIN(gpio) ((gpio) & 0xff) macro
|
/lk-master/platform/stm32f2xx/include/platform/ |
A D | gpio.h | 14 #define GPIO_PIN(gpio) ((gpio) & 0xff) macro
|
/lk-master/platform/stm32f4xx/include/platform/ |
A D | gpio.h | 14 #define GPIO_PIN(gpio) ((gpio) & 0xff) macro
|
/lk-master/platform/stm32f0xx/include/platform/ |
A D | gpio.h | 16 #define GPIO_PIN(gpio) ((gpio) & 0xff) macro
|
/lk-master/platform/stellaris/include/platform/ |
A D | gpio.h | 15 #define GPIO_PIN(gpio) ((gpio) & 0xf) macro
|
/lk-master/platform/lpc15xx/include/platform/ |
A D | gpio.h | 16 #define GPIO_PIN(gpio) ((gpio) & 0xf)
|
/lk-master/platform/stm32f7xx/include/platform/ |
A D | gpio.h | 16 #define GPIO_PIN(gpio) ((gpio) & 0xff) macro
|
/lk-master/platform/lpc43xx/include/platform/ |
A D | lpc43xx-gpio.h | 53 #define GPIO_PIN(m) (0x400F6100 + ((m) * 4)) // r/w value at pins macro
|
Completed in 13 milliseconds