This is a part of the Kinetiszer project.

Dependents:   SoundEngine

Committer:
Clemo
Date:
Tue Oct 28 12:19:22 2014 +0000
Revision:
0:5a419ba2726d
Error & warning free (I believe as I don't know how to clean).

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Clemo 0:5a419ba2726d 1 #ifndef __HARDWARE_PORT_H__
Clemo 0:5a419ba2726d 2 #define __HARDWARE_PORT_H__
Clemo 0:5a419ba2726d 3
Clemo 0:5a419ba2726d 4
Clemo 0:5a419ba2726d 5 #define HIGH (1)
Clemo 0:5a419ba2726d 6 #define LOW (0)
Clemo 0:5a419ba2726d 7
Clemo 0:5a419ba2726d 8
Clemo 0:5a419ba2726d 9 void Init_Hardware(void);
Clemo 0:5a419ba2726d 10 void Hardware_Poll(void);
Clemo 0:5a419ba2726d 11 void Hardware_Let_Ctrl(byte shift, byte index, byte value);
Clemo 0:5a419ba2726d 12 byte Hardware_Get_Ctrl(byte shift, byte index);
Clemo 0:5a419ba2726d 13 byte Hardware_Get_Ctrl_Shift(void);
Clemo 0:5a419ba2726d 14 void Hardware_Let_Function(byte newfunc);
Clemo 0:5a419ba2726d 15 byte Hardware_Get_Function(void);
Clemo 0:5a419ba2726d 16 void Hardware_Let_Value(byte func, byte newval);
Clemo 0:5a419ba2726d 17 byte Hardware_Get_Value(byte func);
Clemo 0:5a419ba2726d 18 void Hard_Let_Shift(byte func, boolean newshift);
Clemo 0:5a419ba2726d 19 boolean Hard_Get_Shift(byte func);
Clemo 0:5a419ba2726d 20 void Hardware_LED_SetState(byte LEDnum, byte LEDstate);
Clemo 0:5a419ba2726d 21 void Hardware_LED_StartFlash(byte LEDnum, byte FlashTimes);
Clemo 0:5a419ba2726d 22 void Hardware_BicolorLED_SetState(uint8_t led, uint8_t green, uint8_t red);
Clemo 0:5a419ba2726d 23
Clemo 0:5a419ba2726d 24
Clemo 0:5a419ba2726d 25 #endif // __HARDWARE_PORT_H__