dscCounterConfig

BYTE dscCounterConfig(DSCB board, DSCCR* dsccr);

This function configures the counter for up and down direction, loads data, registers the clock source, Reload the counter. Configures the counter for its respective operation.

Name

Description

DSCB

The handle of the board to operate on

The settings for all counters in the structure dsccr; see DSCCR definition

Return Value

Error code or 0.

Last updated