You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

21 lines
380 B

#ifndef _AVR_IO_H_
#define _AVR_IO_H_
#include <stdint.h>
#define F_CPU 16000000UL
#define _VECTOR(N) __vector_ ## N
#define _BV(bit) (1 << (bit))
extern "C" volatile uint8_t __iomem[1024];
#define _SFR_MEM8(addr) __iomem[addr]
#define _SFR_MEM16(addr) (*(uint16_t *)&__iomem[addr])
#define _SFR_IO8(addr) __iomem[addr]
#define __ATmegaxx0__
#include "iom2560.h"
#endif