firmware  v0.1.2
Chromation Spectrometer Dev-Kit
Flag-Hardware.h
Go to the documentation of this file.
1 
4 #ifndef _FLAG_HARDWARE_H
5 #define _FLAG_HARDWARE_H
6 #include <stdint.h>
7 #include <avr/io.h> // includes iom328p.h for hardware i/o values
8 #include "Flag.h"
9 // ---Registers---
10 flag_reg Flag_SpiFlags = &GPIOR0;
11 // ---Bits---
12 flag_bit Flag_SlaveRx = GPIOR00; // bit 0 in GPIOR0
13 flag_bit Flag_TransferDone = GPIOR01; // bit 1 in GPIOR0
14 #endif // _FLAG_HARDWARE_H
15