Skip to content
Snippets Groups Projects
Commit f266a5bc authored by Joseph Schaefer's avatar Joseph Schaefer
Browse files

Upload New File

parent 2a5f880f
No related branches found
No related tags found
No related merge requests found
helper.h 0 → 100644
#define UINT_MAX 65535
#define PRESCALER0 ( 0)
#define PRESCALER1 ( (0x1 << CS10))
#define PRESCALER8 ( (0x1 << CS11) )
#define PRESCALER64 ( (0x1 << CS11) | (0x1 << CS10))
#define PRESCALER256 ((0x1 << CS12) )
#define PRESCALER1024 ((0x1 << CS12) | (0x1 << CS10))
#define clearRGBsetT /* &= */ (0x1 << PB4) & ~((0x1 << PB7) | (0x1 << PB6) | (0x1 << PB5))
#define clearRGB /* &= */ ~((0x1 << PB7) | (0x1 << PB6) | (0x1 << PB5))
#define clearRGBT /* = */ 0
#define setRT /* = */ (0x1 << PB7) | (0x1 << PB4)
#define setGT /* = */ (0x1 << PB6) | (0x1 << PB4)
#define setBT /* = */ (0x1 << PB5) | (0x1 << PB4)
#define setT (0x1 << PB4)
void enableINT6();
void disableINT6();
void triggerINT6();
int processTrigR();
int processTrigG();
int processTrigB();
unsigned processPrescaler();
void priocessMaxFrames();
int setResolution();
int processCMRA();
int processCMRB();
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment