25.12.2013 Aufrufe

Gecko3 - CCC Event Weblog

Gecko3 - CCC Event Weblog

Gecko3 - CCC Event Weblog

MEHR ANZEIGEN
WENIGER ANZEIGEN

Erfolgreiche ePaper selbst erstellen

Machen Sie aus Ihren PDF Publikationen ein blätterbares Flipbook mit unserer einzigartigen Google optimierten e-Paper Software.

E. Quellcode<br />

163 /∗ Opcode∗/ 0x01 , 0x01 , 0x01 , 0x02 , 0x05 , 0x01 , 0x01 ,<br />

0x00 ,<br />

/∗ Output ∗/ 0x00 , 0x00 , 0x04 , 0x04 , 0x00 , 0x00 , 0x04 ,<br />

0x00 ,<br />

/∗ LFun ∗/ 0x00 , 0x36 , 0x00 , 0x00 , 0x41 , 0x00 , 0x09 ,<br />

0x3F ,<br />

// Wave 1<br />

/∗ LenBr ∗/ 0x01 , 0x11 , 0x01 , 0x20 , 0x25 , 0x3D , 0x01 ,<br />

0x07 ,<br />

168 /∗ Opcode∗/ 0x01 , 0x01 , 0x02 , 0x05 , 0x01 , 0x01 , 0x00 ,<br />

0x00 ,<br />

/∗ Output ∗/ 0x00 , 0x02 , 0x02 , 0x00 , 0x00 , 0x04 , 0x04 ,<br />

0x00 ,<br />

/∗ LFun ∗/ 0x41 , 0x09 , 0x00 , 0x36 , 0x09 , 0x09 , 0x00 ,<br />

0x3F ,<br />

// Wave 2<br />

/∗ LenBr ∗/ 0x01 , 0x01 , 0x01 , 0x01 , 0x01 , 0x01 , 0x01 ,<br />

0x07 ,<br />

173 /∗ Opcode∗/ 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 ,<br />

0x00 ,<br />

/∗ Output ∗/ 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 ,<br />

0x00 ,<br />

/∗ LFun ∗/ 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 ,<br />

0x3F ,<br />

// Wave 3<br />

/∗ LenBr ∗/ 0x01 , 0x01 , 0x01 , 0x01 , 0x01 , 0x01 , 0x01 ,<br />

0x07 ,<br />

178 /∗ Opcode∗/ 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 ,<br />

0x00 ,<br />

/∗ Output ∗/ 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 ,<br />

0x00 ,<br />

/∗ LFun ∗/ 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 ,<br />

0x3F ,<br />

} ;<br />

// END DO NOT EDIT<br />

183<br />

// DO NOT EDIT . . .<br />

const char xdata FlowStates [ 3 6 ] =<br />

{<br />

/∗ Wave 0 FlowStates ∗/ 0x00 , 0 x00 , 0 x00 , 0 x00 , 0 x00 , 0 x00 , 0 x00 , 0 x00 , 0 x00 ,<br />

188 /∗ Wave 1 FlowStates ∗/ 0x00 , 0 x00 , 0 x00 , 0 x00 , 0 x00 , 0 x00 , 0 x00 , 0 x00 , 0 x00 ,<br />

/∗ Wave 2 FlowStates ∗/ 0x00 , 0 x00 , 0 x00 , 0 x00 , 0 x00 , 0 x00 , 0 x00 , 0 x00 , 0 x00 ,<br />

/∗ Wave 3 FlowStates ∗/ 0x00 , 0 x00 , 0 x00 , 0 x00 , 0 x00 , 0 x00 , 0 x00 , 0 x00 , 0 x00 ,<br />

} ;<br />

// END DO NOT EDIT<br />

193<br />

// DO NOT EDIT . . .<br />

const char xdata I n i t D a t a [ 7 ] =<br />

{<br />

/∗ Regs ∗/ 0xC0 , 0 x00 , 0 x00 , 0 x00 , 0 xEE, 0 xE4 , 0 x00<br />

198 } ;<br />

// END DO NOT EDIT<br />

// TO DO: You may add a d d i t i o n a l code below .<br />

203 void G p i f I n i t ( void )<br />

{<br />

BYTE i ;<br />

// R e g i s t e r s which r e q u i r e a s y n c h r o n i z a t i o n delay , see s e c t i o n 15.14<br />

208 // FIFORESET FIFOPINPOLAR<br />

// INPKTEND OUTPKTEND<br />

// EPxBCH: L REVCTL<br />

// GPIFTCB3 GPIFTCB2<br />

// GPIFTCB1 GPIFTCB0<br />

213 // EPxFIFOPFH: L EPxAUTOINLENH: L<br />

90 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!