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 1. Parameters
Data direction Parameter name Description

[in]

module_inst

Pointer to the software module instance struct

[in]

dir

New timer count direction to set