Next: Features
Up: Conceptual design
Previous: Conceptual design
Entry points
This software will have entry points designed to optimize the scarce
bus resources, and allow all client access to the SIBs. The list of
entry points shall include at least the following:
- open
- prepares the SIB to interact with the client.
- close
- disconnects the SIB from the client task.
- read
- reads a 16 bit value from the SIB specified
- write
- writes a 16 bit value to the SIB specified
- writeBits
- This function sets a bitfield value in the SIB
specified.
- reset
- initializes the SIB and downloads the current values that
the MCB software thinks ought to be in there.
- test
- performs some test routines on the SIB.
- blockRead
- reads a bank of several registers from the SIB. This
is intended to be used in the case where a controlled delay between
samples read is needed.
- blockWrite
- writes a bank of several registers in the SIB. This
is intended to be used for cases, such as initializing memory, etc.
Some devices might exist where this would be useful.
John Ford
1998-10-23