Enumerated Types

group group_mcwdt_enums

Enums

enum cy_en_mcwdtctr_t

cy_en_mcwdtctr_t: The mcwdt sub-counter identifiers.

Values:

enumerator CY_MCWDT_COUNTER0

Sub-counter#0 identifier.

enumerator CY_MCWDT_COUNTER1

Sub-counter#1 identifier.

enumerator CY_MCWDT_COUNTER2

Sub-counter#2 identifier.

enum cy_en_mcwdtmode_t

cy_en_mcwdtmode_t: The mcwdt modes.

Values:

enumerator CY_MCWDT_MODE_NONE

The No action mode.

It is used for Set/GetMode functions.

enumerator CY_MCWDT_MODE_INT

The Interrupt mode.

It is used for Set/GetMode functions.

enumerator CY_MCWDT_MODE_RESET

The Reset mode.

It is used for Set/GetMode functions.

enumerator CY_MCWDT_MODE_INT_RESET

The Three interrupts then watchdog reset mode.

It is used for Set/GetMode functions.

enum cy_en_mcwdtcascade_t

cy_en_mcwdtcascade_t: The mcwdt cascading.

Values:

enumerator CY_MCWDT_CASCADE_NONE

The cascading is disabled.

It is used for Set/GetCascade functions.

enumerator CY_MCWDT_CASCADE_C0C1

The sub-counter#1 is clocked by LFCLK or from sub-counter#0 cascade.

It is used for Set/GetCascade functions.

enumerator CY_MCWDT_CASCADE_C1C2

The sub-counter#2 is clocked by LFCLK or from sub-counter#1 cascade.

It is used for Set/GetCascade functions.

enumerator CY_MCWDT_CASCADE_BOTH

The sub-counter#1 is clocked by LFCLK or from sub-counter#0 cascade and the sub-counter#2 is clocked by LFCLK or from sub-counter#1 cascade.

It is used for Set/GetCascade functions.

enum cy_en_mcwdt_status_t

cy_en_mcwdt_status_t: The MCWDT error codes.

Values:

enumerator CY_MCWDT_SUCCESS

Successful.

enumerator CY_MCWDT_BAD_PARAM

One or more invalid parameters.