Uwe Hermann
|
3b6809413b
|
Remove one layer of indirection by killing unneeded #defines.
|
2009-07-18 02:51:22 +02:00 |
|
Uwe Hermann
|
015b046c1e
|
Merge stdint.h contents into common.h so we don't conflict with libc.
|
2009-07-18 01:39:30 +02:00 |
|
Uwe Hermann
|
f3d7eda380
|
Add convenience GPIOx #defines and MMIO GPIO register #defines.
|
2009-07-17 23:09:47 +02:00 |
|
Uwe Hermann
|
d6611f62dd
|
Add all base addresses for peripherals as per datasheet.
|
2009-07-17 23:05:01 +02:00 |
|
Uwe Hermann
|
f3ac624f22
|
Add common.h, currently containing MMIO accessor functions.
|
2009-07-17 19:01:45 +02:00 |
|
Uwe Hermann
|
c62ca6143d
|
Make gpio number argument 'unsigned int', there are no negative GPIOs.
|
2009-07-16 14:23:25 +02:00 |
|
Uwe Hermann
|
0fa4cbbdad
|
Add some more GPIO related #defines.
This includes GPIO port base addresses, MODE[1:0] values, and CNF[1:0]
values.
|
2009-07-16 14:22:46 +02:00 |
|
Uwe Hermann
|
e7567c835c
|
Add memorymap.h with some peripheral base addresses.
|
2009-07-16 14:20:18 +02:00 |
|
Uwe Hermann
|
0a8135395a
|
Add dummy gpio.c implementation and final Makefile.
The whole lib should now build and install fine. It's not yet tested
on hardware, though.
|
2009-07-16 03:27:05 +02:00 |
|
Uwe Hermann
|
1b2f6456bf
|
Add some initial gpio.h #defines.
|
2009-07-16 03:20:12 +02:00 |
|
Uwe Hermann
|
75bb51fadf
|
Add top-level include file intended for lib users.
|
2009-07-16 02:40:10 +02:00 |
|
Uwe Hermann
|
ae6f321816
|
Add a stdint.h include file for u16, u32, etc.
|
2009-07-16 02:14:17 +02:00 |
|