Hi. I am writting a driver for QPCI-1553B card.I have some troubles with the buffer address.
This card have a register A which is 16-bits, points to a data buffer.But my target machine is 32-bits. How can I solve this problem?
The document of the card have some description like this: All addresses described in this document are BYTE addresses. All boards accept 16-bit words as well as byte accesses. Since all BYTE addresses must be EVEN, you can convert from a BYTE to a WORD address by dividing the BYTE address by two (2). Word format is Little Endian.
But I still do not know how to do this. Can anyone give me a example? Thanks.