|
void | tdc2_cfg_setup (tdc2_cfg_t *cfg) |
| TDC 2 configuration object setup function.
|
|
err_t | tdc2_init (tdc2_t *ctx, tdc2_cfg_t *cfg) |
| TDC 2 initialization function.
|
|
err_t | tdc2_default_cfg (tdc2_t *ctx) |
| TDC 2 default configuration function.
|
|
err_t | tdc2_generic_write (tdc2_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
| TDC 2 data writing function.
|
|
err_t | tdc2_generic_read (tdc2_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
| TDC 2 data reading function.
|
|
err_t | tdc2_write_config (tdc2_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
| TDC 2 config data writing function.
|
|
err_t | tdc2_read_config (tdc2_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
| TDC 2 config data reading function.
|
|
err_t | tdc2_read_results (tdc2_t *ctx, uint8_t reg, uint32_t *reference_index, uint32_t *stop_result) |
| TDC 2 results data reading function.
|
|
err_t | tdc2_send_command (tdc2_t *ctx, uint8_t command) |
| TDC 2 send command function.
|
|
err_t | tdc2_sw_reset (tdc2_t *ctx) |
| TDC 2 software reset function.
|
|
err_t | tdc2_start_measuring (tdc2_t *ctx) |
| TDC 2 start measuring function.
|
|
err_t | tdc2_set_resolution (tdc2_t *ctx, uint32_t resolution) |
| TDC 2 set resolution function.
|
|
err_t | tdc2_get_resolution (tdc2_t *ctx, uint32_t *resolution) |
| TDC 2 set resolution function.
|
|
void | tdc2_reset_index (tdc2_t *ctx) |
| TDC 2 reset reference index function.
|
|
void | tdc2_disable_stop_channels (tdc2_t *ctx) |
| TDC 2 disable stop channels function.
|
|
void | tdc2_enable_stop_channels (tdc2_t *ctx) |
| TDC 2 enable stop channels function.
|
|
uint8_t | tdc2_get_int_state (tdc2_t *ctx) |
| TDC 2 get int state function.
|
|
err_t | tdc2_get_time_between_stops (tdc2_t *ctx, uint32_t stop_result1, uint32_t reference_index1, uint32_t stop_result2, uint32_t reference_index2, uint32_t *time_in_us) |
| TDC 2 get time between stops function.
|
|
This file contains API for TDC 2 Click Driver.