|
void | tdc_cfg_setup (tdc_cfg_t *cfg) |
| TDC configuration object setup function.
|
|
err_t | tdc_init (tdc_t *ctx, tdc_cfg_t *cfg) |
| TDC initialization function.
|
|
err_t | tdc_default_cfg (tdc_t *ctx) |
| TDC default configuration function.
|
|
err_t | tdc_generic_write (tdc_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
| TDC data writing function.
|
|
err_t | tdc_generic_read (tdc_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
| TDC data reading function.
|
|
err_t | tdc_generic_write_byte (tdc_t *ctx, uint8_t reg, uint8_t data_in) |
| TDC data write byte function.
|
|
err_t | tdc_generic_read_byte (tdc_t *ctx, uint8_t reg, uint8_t *data_out) |
| TDC data read function.
|
|
void | tdc_gen_pulse (tdc_t *ctx, uint32_t u_sec, uint8_t n_stops) |
| TDC pulse generation function.
|
|
void | tdc_start_measurement (tdc_t *ctx) |
| TDC start measurement function.
|
|
void | tdc_setup_overflow (tdc_t *ctx, uint32_t overflow_ps) |
| TDC setup overflow function.
|
|
err_t | tdc_setup_measurement (tdc_t *ctx, uint8_t cal_periods, uint8_t avg_cycles, uint8_t num_stops, uint8_t mode) |
| TDC setup measurement function.
|
|
err_t | tdc_get_measurement (tdc_t *ctx, uint8_t clock_mode, uint8_t measure_num_stop, uint32_t *time, uint32_t *clock_countn, uint32_t *tof) |
| TDC get measurement function.
|
|
uint8_t | tdc_get_interrupt (tdc_t *ctx) |
| TDC get interrupt function.
|
|
uint8_t | tdc_get_trg (tdc_t *ctx) |
| TDC get trigger signal function.
|
|
This file contains API for TDC Click Driver.