/* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License. If not, see . */ /** * System definitions and functions * www.flitey.com */ #ifndef SYSTEM_H #define SYSTEM_H #include #include #include "buttons.h" #include "leds.h" #include "adc.h" #include "io_mapping.h" #include "fixed_address_memory.h" /*** System States **************************************************/ typedef enum { SYSTEM_STATE_USB_START, SYSTEM_STATE_USB_SUSPEND, SYSTEM_STATE_USB_RESUME } SYSTEM_STATE; void SYSTEM_Initialize(SYSTEM_STATE state); #endif