7:592b63226b52
|
2013-02-11 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed the RESET pin state which, having been cleared, was preventing device initialisation.
Removed the superfluous reset function.
Added some diagnostic messages showing register contents.
Added a simple interrupt handling loop.
Added an SPI test program.
Undefined the nanosleep and usleep functions since they are probably not needed
and may actually be too slow on the NanoNote.
Fixed the SS (slave select) initialisation comment. |
|
|
spi.c test.c
|
|
6:744300c99234
|
2013-02-10 |
Paul Boddie |
changeset
files
shortlog
graph
|
Introduced register reading and writing functions. |
|
|
test.c
|
|
5:07f93271609e
|
2013-02-10 |
Paul Boddie |
changeset
files
shortlog
graph
|
Removed redundant half-duplex SPI functions. |
|
|
test.c
|
|
4:e015ad3df503
|
2013-02-10 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added a function to check the oscillator, although this does not seem to obtain
useful information from the device. |
|
|
test.c
|
|
3:3cd84546a059
0:5f9455ebcd32
|
2013-02-10 |
Paul Boddie |
changeset
files
shortlog
graph
|
Moved the reset functionality into separate functions. |
|
|
test.c
|
|
2:6a913f12f3bb
|
2013-02-09 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added a simple pin test program. |
|
|
pins.c
|
|
1:e59502a48fbe
|
2013-02-09 |
Paul Boddie |
changeset
files
shortlog
graph
|
Moved the reset functionality into separate functions.
Added a function which waits for the oscillator interrupt notification and which
uses half-duplex transfers because it will be used before host mode is enabled. |
|
|
test.c
|
|
0:5f9455ebcd32
1:e59502a48fbe 3:3cd84546a059
|
2013-02-08 |
Paul Boddie |
changeset
files
shortlog
graph
|
Test programs for the USB Host Shield (test.c) and the M74HC595B1R shift register (shift.c). |
|
|
Makefile shift.c test.c
|
|