CTL_STATUS_t ctl_transport_read_8b_register(CTL_TRANSPORT_t *self,
                                            int reg);

ctl_transport_read_8b_register reads an 8-bit register at address reg from the device associated with transport self. The register value is returned as the function result.

Return Value

If there is an error reading the register from the transport, ctl_transport_read_8b_register returns a standard negative status code indicating the error.