NAME

vme_slave_poke - Reads data from local slave RAM using memory-mapped registers.

SYNOPSIS

vme_slave_poke [-a addr_space] [-A vme_addr] [-d dwidth] [-e num_elem] [-f flags] [-F file] [-p phys_addr]

OPTIONS

-a addr_space

VMEbus address space. Possible values are:

- VME_A16 - Short I/O
- VME_A24 - Standard I/O
- VME_A32 - Extended I/O
-A vme_addr

Searchs for slave memory mapped to the defined VMEbus address.

-d dwidth

Transfer data width. Possible values are:

- VME_D8
- VME_D16
- VME_D32
- VME_D64
-e num_elem

Number of data width sized elements to transfer.

-f flags

Flags to pass to the vme_slave_window_create function. The following constants may be OR'ed together:

- VME_CTL_PWEN - Enables posted writes.
- VME_CTL_PREN - Enables prefetch reads.
- VME_CTL_64_BIT - Enables 64-bit PCI transactions.
- VME_CTL_RMW - Enables a PCI bus lock on VMEbus read-modify-write cycle.

One of the following address modes can be used. If a mode is not specified, the window responds to accesses in either mode.

- VME_CTL_PROGRAM_ONLY - Responds to program address modifiers only.
- VME_CTL_DATA_ONLY - Responds to data address modifiers only.

One of the following address privileges can be used. If a mode is not specified, the window responds to accesses in either modes.

- VME_CTL_SUPER_ONLY - Responds to supervisor address modifiers only.
- VME_CTL_USER_ONLY - Responds to user address modifiers only.

One of the following PCI address spaces can be used. If a flag is not specifed, the window maps to PCI memory space.

- VME_CTL_PCI_CONFIG
- VME_CTL_PCI_IO_SPACE
- VME_CTL_PCI_IO_SPACE - Open the window to PCI I/O space.
-F file

File containing the hexdata to transfer.

-p phys_addr

Specifies the local physical address to which the window will translate.

DESCRIPTION

Reads data from local slave RAM using memory-mapped registers.

SEE ALSO

vme_slave_peek(1)