GlobLib
HAL and API libraries for MCUs and hardware.
|
Source file for attiny13a GPIO. More...
#include "attiny13a_gpio.h"
Go to the source code of this file.
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... | |
Source file for attiny13a GPIO.
Definition in file attiny13a_gpio.c.