Synopsis
CTL_STATUS_t ctl_transport_read_16b_register(CTL_TRANSPORT_t *self,
                                             int reg);
Description

ctl_transport_read_16b_register reads two consecutive 8-bit registers starting at address reg from the device associated with transport self. The two bytes read are combined to form a 16-bit value, according to the register byte set on initialization, and is returned as the function result.

Return Value

ctl_transport_read_16b_register returns a standard status code.