Skip to Main Content Skip to Search
Product Documentation

xpcInpB, xpcInpW, xpcInpDW - I/O port input functions for byte, word, and double word accesses

Prototype

uint8_T xpcInpB(uint16_T port)
uint16_T xpcInpW(uint16_T port)
uint32_T xpcInpDW(uint16_T port)

Arguments

port

Enter the port value

Header File

xpctarget.h

Description

These functions input data from the I/O port space. Use xpcInpB for byte access (8-bit), xpcInpW for word accesses (16-bit), and xpcInpDW for double word accesses (32-bit).

See Also

xpcOutpB, xpcOutpW, xpcOutpDW

  


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