@CHIP-RTOS C Library V2.06 - Hardware API
hal_write_bus
Write single byte to data bus. The provided parameters are combined as
follows to form the output byte value:
output value = (data & wAND) ^ wXOR
To write the value to the address without modification, set wAND=0xFFFF
and wXOR=0x0000. void hal_write_bus ( unsigned short adr, unsigned char value,
unsigned short wAND,unsigned short wXOR ); Parameters
adr
- I/O Address
value
- Value to be output
wAND
- Mask applied to output
wXOR
- Output bit inverter
Return Value
- -- none --.
Comments
- & = bit wise AND
^ = bit wise XOR
See Also
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
documentation
for more details.
Supported since or modified in @CHIP-RTOS version-
SC12 | SC13 | SC11 | SC1x3 |
-
V1.00 | V1.00 | V1.00 | V0.90 |
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|