![]() |
Doxygen Documentation |
|||||
Package: |
GNAT |
|||||
Version: |
V1-0-23 |
Marked: |
(not marked) |
|||
Constituent: |
gnat |
Tag: |
sun-gcc |
|||
#include "GNAT/gnat.h"
Include dependency graph for gio.h:

This graph shows which files directly or indirectly include this file:

Functions | |
| int | gReset (gnatHandle gh) |
| resets the board referenced by handle. Returns the board to a known state. | |
| int | gFlushAllF (gnatHandle gh) |
| flushes the record and playback FIFOs of the board referenced by handle. | |
| int | gFlushRF (gnatHandle gh) |
| flushes the record FIFO of the board referenced by handle. | |
| int | gFlushPF (gnatHandle gh) |
| flushes the playback FIFO of the board referenced by handle. | |
| int | gProbe (gnatHandle gh) |
| attempts to probe the local address previously determined by gMapAddr() | |
| int | gHWver (gnatHandle gh, unsigned short int *version, unsigned short int *revision) |
| fetchs the hardware version and revision numbers from the board | |
| int | gSWver (gnatHandle gh, unsigned short int *version, unsigned short int *revision) |
| fetchs the software version and revision numbers from the board | |
| int | gWritePF16 (gnatHandle gh, unsigned short int val) |
| writes the 16-bit short word val to the play back FIFO | |
| int | gWritePF16n (gnatHandle gh, unsigned short int nItem, unsigned short int val) |
| writes the 16-bit short word val to the play back FIFO nItem times | |
| int | gWritePF16v (gnatHandle gh, unsigned short int nVal, unsigned short int *aVal) |
| writes the array of 16-bit short words aVal to the play back FIFO | |
| int | gWritePF32 (gnatHandle gh, unsigned int val) |
| writes the 32-bit word val to the play back FIFO | |
| int | gWritePF32n (gnatHandle gh, unsigned short int nItem, unsigned int val) |
| writes the 32-bit word val to the play back FIFO | |
| int | gWritePF32v (gnatHandle gh, unsigned int nVal, unsigned int *aVal) |
| writes the array of 32-bit words aVal to the play back FIFO | |
| int | gReadRF16 (gnatHandle gh, unsigned short int *val) |
| reads a 16-bit short word from record FIFO and stores it val | |
| int | gReadRF16v (gnatHandle gh, unsigned short int nVal, unsigned short int *aVal) |
| reads nVal 16-bit short words from the record FIFO and stores them in aVal | |
| int | gReadRF32 (gnatHandle gh, unsigned int *val) |
| reads a 32-bit word from record FIFO and stores it val | |
| int | gReadRF32v (gnatHandle gh, unsigned int nVal, unsigned int *aVal) |
| reads nVal 32-bit words from the record FIFO and stores them in aVal | |
| int | gEnableAllF (gnatHandle gh) |
| Prepares both the playback and record FIFOs for writing, by taking them out of reset. | |
| int | gEnablePF (gnatHandle gh) |
| Prepares the play back FIFO for writing, by taking it out of reset. | |
| int | gEnableRF (gnatHandle gh) |
| Prepares the record FIFO for writing, by taking it out of reset. | |
| int | gEnableClk0 (gnatHandle gh) |
| Enables continuous clock on channel 0, generated by board. | |
| int | gFlushPipeline (gnatHandle gh) |
| Purges stale cruft from internal FPGA state machine. | |
| int | gClrALLhist (gnatHandle gh) |
| Clears the latched occupancy status for both Playback and Record FIFOs. | |
| int | gClrPFhist (gnatHandle gh) |
| Clears the latched occupancy status for the Playback FIFOs. | |
| int | gClrRFhist (gnatHandle gh) |
| Clears the latched occupancy status for the record FIFO. | |
| int | gIsEmptyRF (gnatHandle gh) |
| Checks if the record FIFO is empty. | |
| int | gStartPB (gnatHandle gh) |
| Start the playblack sequence. | |
| int | gSetAcqSrc (gnatHandle gh, unsigned int src) |
| Set the source for initiating playback. | |
| int | gSetRecDly (gnatHandle gh, unsigned char dly) |
| Set the delay for the read back FIFO. | |
| int | gSetClkDly (gnatHandle gh, unsigned char dly) |
| Set the delay for the channel 0 clock. | |
| int | gSetIrqDelay (gnatHandle gh, unsigned int dly) |
| Set interrupt delay for this gnatHandle. | |
| int | gSetIrqLevel (gnatHandle gh, unsigned int level) |
| Set interrupt level for this gnatHandle. | |
| int | gGetIrqLevel (gnatHandle gh, unsigned int *level) |
| Get interrupt level for this gnatHandle. | |
| int | gSetIrqVector (gnatHandle gh, unsigned int vector) |
| Set interrupt vector for this gnatHandle. | |
| int | gGetIrqVector (gnatHandle gh, unsigned int *vector) |
| Get interrupt vector for this gnatHandle. | |
| int | gConnectIrq (gnatHandle gh) |
| Prepares driver and board for interrupts. | |
| int | gEnableIrq (gnatHandle gh) |
| Enables interrupt. | |
| int | gDisableIrq (gnatHandle gh) |
| Disables interrupt. | |
| int | gSetOutMask (gnatHandle gh, unsigned int mask) |
| Sets the output XOR bit mask used when writing to the FIFO. | |
| int | gGetOutMask (gnatHandle gh, unsigned int *mask) |
| Gets the output XOR bit mask used when writing to the FIFO. | |
| int | gTakeIntSem (gnatHandle gh) |
| Takes the interrupt sync semaphore. | |
| int | gSetActive (gnatHandle gh, unsigned int mode) |
| Set active member for gnatHandle. | |
| int | gGetActive (gnatHandle gh, unsigned int *mode) |
| Returns current active mode for gnatHandle. | |
| int | gVersion (gnatHandle gh, unsigned short hwVer, unsigned short hwRev, unsigned short swVer, unsigned short swRev) |
| Checks the COMM Board hardware version/revision. | |
| int | gCommReady (gnatHandle gh, int timeOut) |
| Waits for the COMM board to become ready, via polling. | |
| int | gLockFIFO (gnatHandle gh, int timeOut) |
| Locks access to the COMM board FIFO. | |
| int | gUnLockFIFO (gnatHandle gh) |
| Unlocks access to the COMM board FIFO. | |
| int | gGetCmdChnl (gnatHandle gh) |
| Wrapper for fetching value of gh->m_cmdChannel. | |
| int | gSetCmdChnl (gnatHandle gh, unsigned char chnl) |
| Sets the outgoing command number for the clock line. | |
| int | gHasVASU (gnatHandle gh) |
| Returns non-zero if VASU board detected. | |
|
|
Clears the latched occupancy status for both Playback and Record FIFOs.
|
|
|
Clears the latched occupancy status for the Playback FIFOs.
|
|
|
Clears the latched occupancy status for the record FIFO.
|
|
||||||||||||
|
Waits for the COMM board to become ready, via polling.
|
|
|
Prepares driver and board for interrupts.
|
Here is the call graph for this function:

|
|
Disables interrupt.
|
|
|
Prepares both the playback and record FIFOs for writing, by taking them out of reset.
|
|
|
Enables continuous clock on channel 0, generated by board.
|
|
|
Enables interrupt.
|
|
|
Prepares the play back FIFO for writing, by taking it out of reset.
|
|
|
Prepares the record FIFO for writing, by taking it out of reset.
|
|
|
flushes the record and playback FIFOs of the board referenced by handle.
|
|
|
flushes the playback FIFO of the board referenced by handle.
|
|
|
Purges stale cruft from internal FPGA state machine.
|
Here is the call graph for this function:

|
|
flushes the record FIFO of the board referenced by handle.
|
|
||||||||||||
|
Returns current active mode for gnatHandle.
|
|
|
Wrapper for fetching value of gh->m_cmdChannel.
|
|
||||||||||||
|
Get interrupt level for this gnatHandle.
|
|
||||||||||||
|
Get interrupt vector for this gnatHandle.
|
|
||||||||||||
|
Gets the output XOR bit mask used when writing to the FIFO.
|
|
|
Returns non-zero if VASU board detected.
|
Here is the call graph for this function:

|
||||||||||||||||
|
fetchs the hardware version and revision numbers from the board
|
|
|
Checks if the record FIFO is empty.
|
|
||||||||||||
|
Locks access to the COMM board FIFO.
|
|
|
attempts to probe the local address previously determined by gMapAddr()
|
Here is the call graph for this function:

|
||||||||||||
|
reads a 16-bit short word from record FIFO and stores it val
|
|
||||||||||||||||
|
reads nVal 16-bit short words from the record FIFO and stores them in aVal
|
|
||||||||||||
|
reads a 32-bit word from record FIFO and stores it val
|
|
||||||||||||||||
|
reads nVal 32-bit words from the record FIFO and stores them in aVal
|
|
|
resets the board referenced by handle. Returns the board to a known state.
|
|
||||||||||||
|
Set the source for initiating playback.
|
|
||||||||||||
|
Set active member for gnatHandle.
|
|
||||||||||||
|
Set the delay for the channel 0 clock.
|
|
||||||||||||
|
Sets the outgoing command number for the clock line.
|
|
||||||||||||
|
Set interrupt delay for this gnatHandle.
|
|
||||||||||||
|
Set interrupt level for this gnatHandle.
|
|
||||||||||||
|
Set interrupt vector for this gnatHandle.
|
|
||||||||||||
|
Sets the output XOR bit mask used when writing to the FIFO.
|
|
||||||||||||
|
Set the delay for the read back FIFO.
|
|
|
Start the playblack sequence.
|
|
||||||||||||||||
|
fetchs the software version and revision numbers from the board
|
|
|
Takes the interrupt sync semaphore.
|
|
|
Unlocks access to the COMM board FIFO.
|
|
||||||||||||||||||||||||
|
Checks the COMM Board hardware version/revision.
|
Here is the call graph for this function:

|
||||||||||||
|
writes the 16-bit short word val to the play back FIFO
|
|
||||||||||||||||
|
writes the 16-bit short word val to the play back FIFO nItem times
|
|
||||||||||||||||
|
writes the array of 16-bit short words aVal to the play back FIFO
|
|
||||||||||||
|
writes the 32-bit word val to the play back FIFO
|
|
||||||||||||||||
|
writes the 32-bit word val to the play back FIFO
|
|
||||||||||||||||
|
writes the array of 32-bit words aVal to the play back FIFO
|
1.3.3