|
HARMcksL: ARM HAL toolbox (yet STM32 oriented) 1.6
SMFSW collection of HAL hacks for STM32
|
Extensions for GPIOs (R/W) More...


Functions | |
| void | write_GPIO (GPIO_TypeDef *const GPIOx, const uint16_t GPIO_Pin, const eGPIOState action) |
| Write GPIO. | |
| GPIO_PinState | read_GPIO (GPIO_TypeDef *const GPIOx, const uint16_t GPIO_Pin) |
| Read GPIO. | |
| void | str_GPIO_name (char *name, const GPIO_TypeDef *const GPIOx, const uint16_t GPIO_Pin) |
| Get name from Port, Pin. | |
Extensions for GPIOs (R/W)
| GPIO_PinState read_GPIO | ( | GPIO_TypeDef *const | GPIOx, |
| const uint16_t | GPIO_Pin ) |
Read GPIO.
| [in] | GPIOx | - port to read from |
| [in] | GPIO_Pin | - pin to read from |

| void str_GPIO_name | ( | char * | name, |
| const GPIO_TypeDef *const | GPIOx, | ||
| const uint16_t | GPIO_Pin ) |
Get name from Port, Pin.
| [in,out] | name | - pointer to string for name |
| [in] | GPIOx | - port |
| [in] | GPIO_Pin | - pin |

| void write_GPIO | ( | GPIO_TypeDef *const | GPIOx, |
| const uint16_t | GPIO_Pin, | ||
| const eGPIOState | action ) |
Write GPIO.
| [in] | GPIOx | - port to write to |
| [in] | GPIO_Pin | - pin to write to |
| [in] | action | - action to perform on output port pin |
