Configuration struct for the TCC module match/wave generation.
The structure, which helps to configure a TCC channel for compare operation and wave generation.
#include <tcc.h>
Data Fields | |
enum tcc_channel_function | channel_function [TCC_NUM_CHANNELS] |
Channel functions selection (capture/match) More... | |
uint32_t | match [TCC_NUM_CHANNELS] |
Value to be used for compare match on each channel. More... | |
enum tcc_wave_generation | wave_generation |
Specifies which waveform generation mode to use. More... | |
enum tcc_wave_polarity | wave_polarity [TCC_NUM_CHANNELS] |
Specifies polarity for match output waveform generation. More... | |
enum tcc_ramp | wave_ramp |
Specifies Ramp mode for waveform generation. More... | |
enum tcc_channel_function tcc_match_wave_config::channel_function[TCC_NUM_CHANNELS] |
Channel functions selection (capture/match)
Referenced by configure_tcc().
uint32_t tcc_match_wave_config::match[TCC_NUM_CHANNELS] |
Value to be used for compare match on each channel.
Referenced by configure_tcc(), configure_tcc_ramp2c_mode(), run_callback_test(), run_capture_and_compare_test(), run_faultn_test(), run_faultx_test(), and tcc_init().
enum tcc_wave_generation tcc_match_wave_config::wave_generation |
Specifies which waveform generation mode to use.
Referenced by _tcc_build_waves(), configure_tcc(), configure_tcc_ramp2a_mode(), configure_tcc_ramp2c_mode(), run_callback_test(), run_capture_and_compare_test(), run_faultn_test(), run_faultx_test(), and tcc_get_config_defaults().
enum tcc_wave_polarity tcc_match_wave_config::wave_polarity[TCC_NUM_CHANNELS] |
Specifies polarity for match output waveform generation.
Referenced by _tcc_build_waves(), configure_tcc(), configure_tcc_ramp2a_mode(), and configure_tcc_ramp2c_mode().
enum tcc_ramp tcc_match_wave_config::wave_ramp |
Specifies Ramp mode for waveform generation.
Referenced by _tcc_build_waves(), configure_tcc_ramp2a_mode(), configure_tcc_ramp2c_mode(), and tcc_get_config_defaults().