25.6.4.6.1 Function tcc_stop_counter()

Stops the counter.

void tcc_stop_counter( const struct tcc_module *const module_inst)

This function will stop the counter. When the counter is stopped the value in the count register is set to 0 if the counter was counting up, or maximum or the top value if the counter was counting down.

Table 25-39. Parameters
Data directionParameter nameDescription

[in]

module_inst

Pointer to the software module instance struct