For the
control of DO, if you disable the pull-up (set the pull-up to 1), DO can
only output low (0) and cannot output high (1). After enabling pull-up,
DO can output high or low according to the logic of control.
Here is the download link for the FlexAPI documentation.