|
GlobLib
HAL and API libraries for MCUs and hardware.
|
Header file for attiny13a GPIO. More...
#include <stdlib.h>#include <stdio.h>#include "attiny13a_debug.h"#include <avr/io.h>#include <avr/interrupt.h>Go to the source code of this file.
Enumerations |
Functions | |
| mcu_error | pinSetup (gpio_mode mode, gpio_port port, gpio_pin pin) |
| Setup a GPIO pin for a given function. More... | |
| void | pinHigh (gpio_port port, gpio_pin pin) |
| Set a given gpio pin on a port to logic high. More... | |
| void | pinLow (gpio_port port, gpio_pin pin) |
| Set a given gpio pin on a port to logic low. More... | |
| void | pinWrite (gpio_port port, gpio_pin pin, gpio_state state) |
| Set a given gpio pin on a port to a logic state. More... | |
| void | pinToggle (gpio_port port, gpio_pin pin) |
| Toggle the output of a given pin on a port. More... | |
| uint8_t | pinRead (gpio_port port, gpio_pin pin) |
| Read the current digital value of an input pin. More... | |
| mcu_error | GPIO_ISREnable (gpio_port port, gpio_pin pin, gpio_isr trigger, void(*handle)(void)) |
| Setup interrupts on a gpio port / pin. More... | |
| mcu_error | GPIO_ISRDisable (gpio_pin pin) |
| Disable interrupts on a gpio port / pin. More... | |
Header file for attiny13a GPIO.
Definition in file attiny13a_gpio.h.