Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
DLPTS Code
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Joseph Schaefer
DLPTS Code
Commits
f266a5bc
Commit
f266a5bc
authored
3 years ago
by
Joseph Schaefer
Browse files
Options
Downloads
Patches
Plain Diff
Upload New File
parent
2a5f880f
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
helper.h
+39
-0
39 additions, 0 deletions
helper.h
with
39 additions
and
0 deletions
helper.h
0 → 100644
+
39
−
0
View file @
f266a5bc
#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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment