25.6.4.4.1 Function tcc_set_count_direction()

Sets the TCC module count direction.

void tcc_set_count_direction( const struct tcc_module *const module_inst, enum tcc_count_direction dir)

Sets the count direction of an initialized TCC module. The specified TCC module can remain running or stopped.

Table 25-34. Parameters
Data directionParameter nameDescription

[in]

module_inst

Pointer to the software module instance struct

[in]

dir

New timer count direction to set