Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
T
TDC core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
TDC core
Commits
c15857c7
Commit
c15857c7
authored
Oct 21, 2011
by
Sebastien Bourdeauducq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demo: update GPIO definitions
parent
3eb48e31
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
33 deletions
+6
-33
gpio.h
demo/software/include/hw/gpio.h
+6
-33
No files found.
demo/software/include/hw/gpio.h
View file @
c15857c7
/*
/*
* Milkymist SoC (Software)
* Milkymist SoC (Software)
* Copyright (C) 2007, 2008, 2009 Sebastien Bourdeauducq
* Copyright (C) 2007, 2008, 2009 Sebastien Bourdeauducq
* Copyright (C) 2011 CERN
*
*
* This program is free software: you can redistribute it and/or modify
* 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
* it under the terms of the GNU General Public License as published by
...
@@ -19,40 +20,12 @@
...
@@ -19,40 +20,12 @@
#define __HW_GPIO_H
#define __HW_GPIO_H
/* Inputs */
/* Inputs */
#define GPIO_PBN (0x00000001)
#define GPIO_PB2 (0x00000001)
#define GPIO_PBW (0x00000002)
#define GPIO_PBS (0x00000004)
#define GPIO_PBE (0x00000008)
#define GPIO_PBC (0x00000010)
#define GPIO_DIP1 (0x00000020)
#define GPIO_DIP2 (0x00000040)
#define GPIO_DIP3 (0x00000080)
#define GPIO_DIP4 (0x00000100)
#define GPIO_DIP5 (0x00000200)
#define GPIO_DIP6 (0x00000400)
#define GPIO_DIP7 (0x00000800)
#define GPIO_DIP8 (0x00001000)
/* Outputs */
/* Outputs */
#define GPIO_LED2 (0x00000001)
#define GPIO_LD2 (0x00000001)
#define GPIO_LED3 (0x00000002)
#define GPIO_LD3 (0x00000002)
#define GPIO_LD4 (0x00000004)
#define GPIO_LEDN (0x00000004)
#define GPIO_LD5 (0x00000008)
#define GPIO_LEDW (0x00000008)
#define GPIO_LEDS (0x00000010)
#define GPIO_LEDE (0x00000020)
#define GPIO_LEDC (0x00000040)
#define GPIO_HDLCDE (0x00000080)
#define GPIO_HDLCDRS (0x00000100)
#define GPIO_HDLCDRW (0x00000200)
#define GPIO_HDLCDD_SHIFT (10)
#define GPIO_HDLCDD4 (0x00000400)
#define GPIO_HDLCDD5 (0x00000800)
#define GPIO_HDLCDD6 (0x00001000)
#define GPIO_HDLCDD7 (0x00002000)
#endif
/* __HW_GPIO_H */
#endif
/* __HW_GPIO_H */
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