Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
triazo
/
kernel
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
3
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
5db61b5c
authored
Oct 21, 2015
by
malcolm
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Broke everything
parent
b83df919
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
4 deletions
src/pit.h
src/pit.h
View file @
5db61b5c
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
#define _PIT_INC
#define _PIT_INC
#include <stdint.h>
#include <stdint.h>
#include <stdbool.h>
//OCW masks
//OCW masks
#define PIT_OCW_BINC 0x01
#define PIT_OCW_BINC 0x01
...
@@ -34,10 +35,6 @@
...
@@ -34,10 +35,6 @@
#define PIT_REG_CONT_2 0x42
#define PIT_REG_CONT_2 0x42
#define PIT_REG_COMD 0x43
#define PIT_REG_COMD 0x43
#define true 1
#define false 0
#define bool uint8_t
void
pit_command
(
uint8_t
cmd
);
void
pit_command
(
uint8_t
cmd
);
void
pit_write
(
uint16_t
data
,
uint8_t
counter
);
void
pit_write
(
uint16_t
data
,
uint8_t
counter
);
uint8_t
pit_read
(
uint16_t
counter
);
uint8_t
pit_read
(
uint16_t
counter
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment