?? gpif.h
字號:
extern void GpifInit( void );
// Set Address GPIFADR[8:0] to PERIPHERAL
extern void Peripheral_SetAddress( WORD gaddr );
// Set EP2GPIF Transaction Count
extern void Peripheral_SetEP2GPIFTC( WORD xfrcnt );
// Set EP4GPIF Transaction Count
extern void Peripheral_SetEP4GPIFTC( WORD xfrcnt );
// Set EP6GPIF Transaction Count
extern void Peripheral_SetEP6GPIFTC( WORD xfrcnt );
// Set EP8GPIF Transaction Count
extern void Peripheral_SetEP8GPIFTC( WORD xfrcnt );
// Set EP2GPIF Decision Point FIFO Flag Select (PF, EF, FF)
extern void SetEP2GPIFFLGSEL( WORD DP_FIFOFlag );
// Set EP4GPIF Decision Point FIFO Flag Select (PF, EF, FF)
extern void SetEP4GPIFFLGSEL( WORD DP_FIFOFlag );
// Set EP6GPIF Decision Point FIFO Flag Select (PF, EF, FF)
extern void SetEP6GPIFFLGSEL( WORD DP_FIFOFlag );
// Set EP8GPIF Decision Point FIFO Flag Select (PF, EF, FF)
extern void SetEP8GPIFFLGSEL( WORD DP_FIFOFlag );
// Set EP2GPIF Programmable Flag STOP, overrides Transaction Count
extern void SetEP2GPIFPFSTOP( void );
// Set EP4GPIF Programmable Flag STOP, overrides Transaction Count
extern void SetEP4GPIFPFSTOP( void );
// Set EP6GPIF Programmable Flag STOP, overrides Transaction Count
extern void SetEP6GPIFPFSTOP( void );
// Set EP8GPIF Programmable Flag STOP, overrides Transaction Count
extern void SetEP8GPIFPFSTOP( void );
// write single byte to PERIPHERAL, using GPIF
extern void Peripheral_SingleByteWrite( BYTE gdata );
// write single word to PERIPHERAL, using GPIF
extern void Peripheral_SingleWordWrite( WORD gdata );
// read single byte from PERIPHERAL, using GPIF
extern void Peripheral_SingleByteRead( BYTE xdata *gdata );
// read single word from PERIPHERAL, using GPIF
extern void Peripheral_SingleWordRead( WORD xdata *gdata );
// write byte(s)/word(s) to PERIPHERAL, using GPIF and EPxFIFO
// if EPx WORDWIDE=0 then write byte(s)
// if EPx WORDWIDE=1 then write word(s)
extern void Peripheral_FIFOWrite( BYTE FIFO_EpNum );
// 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)
extern void Peripheral_FIFORead( BYTE FIFO_EpNum );
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -