Skip to Main Content Skip to Search
Product Documentation

xpcOutpB, xpcOutpW, xpcOutpDW - I/O port output functions for byte, word, and double word accesses

Prototype

void xpcOutpB(uint16_T port, uint8_T value)
void xpcOutpW(uint16_T port, uint16_T value)
void xpcOutpDW(uint16_T port, uint32_T value)

Arguments

port

Enter the port value

value

Contains the output value

Header File

xpctarget.h

Description

These functions output data to the I/O port space. Use xpcOutpB for byte access (8-bit), xpcOutpW for word accesses (16-bit), and xpcOutpDW for double word (16-bit) accesses.

See Also

xpcInpB, xpcInpW, xpcInpDW

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS