HWA
Bare metal programming with style
hwa_1.h
Go to the documentation of this file.
1 
2 /* This file is part of the HWA project.
3  * Copyright (c) 2012,2015 Christophe Duparquet.
4  * All rights reserved. Read LICENSE.TXT for details.
5  */
6 
27 #define HW_DEVICE_FAMILY avr
28 
32 #define HW_DEVICE_FAMILY_AVR
33 
37 #define HW_DEVICE_VENDOR atmel
38 
42 #define HW_DEVICE_VENDOR_ATMEL
43 
47 #define HW_DEVICE_ARCH avr
48 
52 #define HW_DEVICE_ARCH_AVR
53 
54 
58 #if defined __ASSEMBLER__ || DOXYGEN
59 # define HW_AC -0x20
60 #else
61 typedef signed int int8_t __attribute__((__mode__(__QI__)));
62 typedef unsigned int uint8_t __attribute__((__mode__(__QI__)));
63 typedef signed int int16_t __attribute__ ((__mode__ (__HI__)));
64 typedef unsigned int uint16_t __attribute__ ((__mode__ (__HI__)));
65 typedef signed int int32_t __attribute__ ((__mode__ (__SI__)));
66 typedef unsigned int uint32_t __attribute__ ((__mode__ (__SI__)));
67 
68 typedef int16_t intptr_t;
69 typedef uint16_t uintptr_t;
70 #endif
71 
76 #include "hwa_errors.h" /* Family specific error messages */
77 
78 #include "../../hwa/hwa_1.h"
hwa_errors.h