avr-fw-modules/core/include/hw+/registers.h

23 lines
253 B
C
Executable File

#pragma once
#include <stdint.h>
union byte
{
uint8_t byte;
struct
{
uint8_t bit0:1;
uint8_t bit1:1;
uint8_t bit2:1;
uint8_t bit3:1;
uint8_t bit4:1;
uint8_t bit5:1;
uint8_t bit6:1;
uint8_t bit7:1;
};
} ;
typedef union byte BYTE;