24.6.4.5.1 Function tc_stop_counter()

Stops the counter.

void tc_stop_counter( const struct tc_module *const module_inst)

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

Table 24-25. Parameters
Data directionParameter nameDescription

[in]

module_inst

Pointer to the software module instance struct