25.6.4.11.1 Function tcc_set_ramp_index()

Sets the TCC module ramp index on next cycle.

void tcc_set_ramp_index( const struct tcc_module *const module_inst, const enum tcc_ramp_index ramp_index)

In RAMP2 and RAMP2A operation, we can force either cycle A or cycle B at the output, on the next clock cycle. When ramp index command is disabled, cycle A and cycle B will appear at the output, on alternate clock cycles. See tcc_ramp.

Table 25-49. Parameters
Data directionParameter nameDescription

[in]

module_inst

Pointer to the software module instance struct

[in]

ramp_index

Ramp index (tcc_ramp_index) of the next cycle