Cypress Semiconductor FX2LP Informazioni Techniche Pagina 222

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 460
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 221
EZ-USB FX2 Technical Reference Manual
Page 10-32 EZ-USB FX2 Technical Reference Manual v2.1
;
}
// trigger FIFO write transaction(s), using SFR
GPIFTRIG = FIFO_EpNum; // R/W=0, EP[1:0]=FIFO_EpNum for EPx write(s)
}
// read byte(s)/word(s) from PERIPHERAL, using GPIF and EPxFIFO
// if EPx WORDWIDE=0 then read byte(s)
// if EPx WORDWIDE=1 then read word(s)
void Peripheral_FIFORead( BYTE FIFO_EpNum )
{
while( !( GPIFTRIG & 0x80 ) ) // poll GPIFTRIG.7 GPIF Done bit
{
;
}
// trigger FIFO read transaction(s), using SFR
GPIFTRIG = GPIFTRIGRD | FIFO_EpNum; // R/W=1, EP[1:0]=FIFO_EpNum for EPx read(s)
}
Vedere la pagina 221
1 2 ... 217 218 219 220 221 222 223 224 225 226 227 ... 459 460

Commenti su questo manuale

Nessun commento