25.6.4.8.1 Function tcc_get_capture_value()
Gets the TCC module capture value.
uint32_t tcc_get_capture_value( const struct tcc_module *const module_inst, const enum tcc_match_capture_channel channel_index)
Retrieves the capture value in the indicated TCC module capture channel.
Data direction | Parameter name | Description |
---|---|---|
[in] |
module_inst |
Pointer to the software module instance struct |
[in] |
channel_index |
Index of the Compare Capture channel to read |
Returns
Capture value stored in the specified timer channel.