OAL I/O Reference OAL Interface (Compact 2013)
10/16/2014
The following table shows the functions exported from the I/O library for use with other libraries in the OAL.
Programming Element |
Description |
---|---|
This function puts the bus driver into power off mode. |
|
This function puts the bus driver back into power on mode. |
|
This function reads data from the device configuration space. |
|
This function translates the bus-relative address to the system address. |
|
This function translates the system RAM address to the bus-relative address. |
|
This function writes data to the device configuration space. |
The following table shows the macros exported from the I/O library for use with other libraries in the OAL.
Programming Element |
Description |
---|---|
This macro clears a byte from a specified port address. |
|
This macro clears a 16-bit word from a specified port address. |
|
This macro clears a 32-bit word from a specified port address. |
|
This macro clears a byte at a specified address. |
|
This macro clears a 16-bit word at a specified address. |
|
This macro clears a 32-bit word at a specified address. |
|
This macro reads a byte from a specified address. |
|
This macro reads a 16-bit word from a specified port address. |
|
This macro reads a 32-bit word from a specified address. |
|
This macro reads a byte from a specified address. |
|
This macro reads a 16-bit word from a specified address. |
|
This macro reads a 32-bit word from a specified address. |
|
This macro is a helper function that uses a bit mask to write a byte to a specified address. |
|
This macro is a helper function that uses a bit mask to write a 16-bit word to a specified address. |
|
This macro is a helper function that uses a bit mask to write a 32-bit word to a specified address. |
|
This macro is a helper function that uses a bit mask to write a byte to a specified address. |
|
This macro is a helper function that uses a bit mask to write a 16-bit word to a specified address. |
|
This macro is a helper function that uses a bit mask to write a 32-bit word to a specified address. |
|
This macro writes a byte to a specified address. |
|
This macro writes a 16-bit word to a specified address. |
|
This macro writes a 32-bit word to a specified address. |
|
This macro writes a byte to a specified address. |
|
This macro writes a 16-bit word to a specified address. |
|
This macro writes a 32-bit word to a specified address. |
|
This macro sets the bits at a specified port address. |
|
This macro sets a 16-bit word at a specified port address. |
|
This macro sets a 32-bit word at a specified port address. |
|
This macro sets the bits at a specified address. |
|
This macro sets a 16-bit word at a specified address. |
|
This macro sets a 32-bit word at a specified address. |