CTL_STATUS_t ctl_bus_write(CTL_PARALLEL_BUS_t *self,
                           unsigned output);

ctl_bus_write writes output to the bus self. Note that writing to output bits configured as inputs is highly device dependent and the effect of doing so is not specified by this interface.

Return Value

ctl_bus_write returns a standard status code.

Thread Safety

ctl_bus_write is thread-safe if a mutex is associated with the bus self.