25.12.2013 Aufrufe

Gecko3 - CCC Event Weblog

Gecko3 - CCC Event Weblog

Gecko3 - CCC Event Weblog

MEHR ANZEIGEN
WENIGER ANZEIGEN

Sie wollen auch ein ePaper? Erhöhen Sie die Reichweite Ihrer Titel.

YUMPU macht aus Druck-PDFs automatisch weboptimierte ePaper, die Google liebt.

E. Quellcode<br />

GPIFADRL = 0 x00 ; // p o i n t to PERIPHERAL address 0 x0000<br />

/∗ Configure GPIF FlowStates r e g i s t e r s f o r Wave 0 o f WaveData<br />

283 FLOWSTATE = FlowStates [ 0 ] ;<br />

FLOWLOGIC = FlowStates [ 1 ] ;<br />

FLOWEQ0CTL = FlowStates [ 2 ] ;<br />

FLOWEQ1CTL = FlowStates [ 3 ] ;<br />

FLOWHOLDOFF = FlowStates [ 4 ] ;<br />

288 FLOWSTB = FlowStates [ 5 ] ;<br />

FLOWSTBEDGE = FlowStates [ 6 ] ;<br />

FLOWSTBHPERIOD = FlowStates [ 7 ] ; ∗/<br />

}<br />

E.1.10. Headers<br />

/∗ ∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗<br />

∗ Diplomwork :<br />

3 ∗ <strong>Gecko3</strong> SoC HW/SW Development Board<br />

∗<br />

∗ ( ‘ \ ( ) ( ) ( )<br />

∗ | ( ) ) | ( | | | | Berne U n i v e r s i t y o f Applied S c i e n c e s<br />

∗ | < ’| ) | | School o f Engineering and<br />

8 ∗ | ( ) ) | | | | | | Information Technology<br />

∗ ( / ’( ) ( ) ( )<br />

∗<br />

∗<br />

∗ Author : Matthias Zurbrügg<br />

13 ∗ Date o f c r e a t i o n : 08.11.2006<br />

∗ D e s c r i p t i o n :<br />

∗ Header with f u n c t i o n p r o t o t y p e o f EEPROM read / w r i t e<br />

∗<br />

∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗ ∗/<br />

18<br />

// EEPROM w r i t e f u n c t i o n<br />

void eeprom wr ( void ) ;<br />

// EEPROM read f u n c t i o n with number o f b y t e s to read<br />

23 void eeprom rd (WORD r e a d c o u n t ) ;<br />

/∗ ∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗<br />

2 ∗ Diplomwork :<br />

∗ <strong>Gecko3</strong> SoC HW/SW Development Board<br />

∗<br />

∗ ( ‘ \ ( ) ( ) ( )<br />

∗ | ( ) ) | ( | | | | Berne U n i v e r s i t y o f Applied S c i e n c e s<br />

7 ∗ | < ’| ) | | School o f Engineering and<br />

∗ | ( ) ) | | | | | | Information Technology<br />

∗ ( / ’( ) ( ) ( )<br />

∗<br />

∗<br />

12 ∗ Author : Matthias Zurbrügg<br />

∗ Date o f c r e a t i o n : 16.11.2006<br />

∗ D e s c r i p t i o n :<br />

∗ Header with f u n c t i o n p r o t o t y p e s o f read / w r i t e waveforms<br />

∗<br />

17 ∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗ ∗/<br />

// GPIF w r i t e waveform f o r Host to FPGA communication<br />

void gpif wr waveform ( void ) ;<br />

22 // GPIF read waveform f o r FPGA to Host communication<br />

void g p i f r d w a v e f o r m ( void ) ;<br />

92 Matthias Zurbrügg, Christoph Zimmermann

Hurra! Ihre Datei wurde hochgeladen und ist bereit für die Veröffentlichung.

Erfolgreich gespeichert!

Leider ist etwas schief gelaufen!