SLS AVR Lib 0.1a
 
Loading...
Searching...
No Matches
avr.h File Reference

AVR lib. More...

#include <avr/io.h>
#include <sls-avr/defs.h>
#include <sls-avr/gpio.h>

Go to the source code of this file.

Detailed Description

AVR lib.

Author
Simon Litt simon.nosp@m.@1it.nosp@m.t.net https://coding.1itt.net, https://github.com/SimonLitt
#include <sls-avr/avr.h>
int main(void) {
...
GPIO_SET(A, 0xF0);
PORT_SET(A, 0b10100000);
PIN_TO_READ(C, PC3);
...
}
AVR lib.
#define PIN_TO_READ
Definition gpio.h:497
#define GPIO_SET_OUT_D_HI(_p)
A wrapper for short register naming for gpio_set_out_d_hi()
Definition gpio.h:183
#define GPIO_SET(_p, _val)
A wrapper for short register naming for gpio_set()
Definition gpio.h:124
#define PORT_SET(_p, _pinset)
Definition gpio.h:247