Call the DRV_DioWriteDOPorts function to set the state for the specified channel (take bit as example).
See also
DRV_DioReadDOPorts