BALTECH Docs |
C API for BALTECH SDK
|
brp_errcode brp_Sys_SetPort | ( | brp_protocol | protocol, |
brp_IoPortBitmask | PortMask | ||
) |
**Please use brp_UI_Enable() and brp_UI_Disable() instead of this command for new applications.
**
Sets/clears custom I/O ports of the module. Every bit in PortMask is assigned to an I/O port. By calling this command all output ports are set. Some ports need to be configured as output ports before being set via this command.
[in] | protocol | used to execute the command |
[in] | PortMask |