GlobLib
HAL and API libraries for MCUs and hardware.
attiny13a_gpio.c File Reference

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...
 

Detailed Description

Source file for attiny13a GPIO.

Author
Stuart Ianna
Version
0.11
Date
October 2018
Warning
None
Bug:
Compilers
  • avr-gcc 4.9.2

Definition in file attiny13a_gpio.c.