MTB CAT1 Peripheral driver library

General Description

Enumerations

enum  cy_en_mcwdtctr_t {
  CY_MCWDT_COUNTER0,
  CY_MCWDT_COUNTER1,
  CY_MCWDT_COUNTER2
}
 The mcwdt sub-counter identifiers. More...
 
enum  cy_en_mcwdtmode_t {
  CY_MCWDT_MODE_NONE,
  CY_MCWDT_MODE_INT,
  CY_MCWDT_MODE_RESET,
  CY_MCWDT_MODE_INT_RESET
}
 The mcwdt modes. More...
 
enum  cy_en_mcwdtcascade_t {
  CY_MCWDT_CASCADE_NONE,
  CY_MCWDT_CASCADE_C0C1,
  CY_MCWDT_CASCADE_C1C2,
  CY_MCWDT_CASCADE_BOTH
}
 The mcwdt cascading. More...
 
enum  cy_en_mcwdtlowerlimit_t {
  CY_MCWDT_LOWER_LIMIT0,
  CY_MCWDT_LOWER_LIMIT1
}
 The mcwdt lower limit identifiers. More...
 
enum  cy_en_mcwdtlowerlimitmode_t {
  CY_MCWDT_LOWER_LIMIT_MODE_NOTHING,
  CY_MCWDT_LOWER_LIMIT_MODE_INT,
  CY_MCWDT_LOWER_LIMIT_MODE_RESET
}
 The mcwdt lower limit mode identifiers. More...
 
enum  cy_en_mcwdt_status_t {
  CY_MCWDT_SUCCESS = 0x00u,
  CY_MCWDT_BAD_PARAM = CY_MCWDT_ID | CY_PDL_STATUS_ERROR | 0x01u
}
 The MCWDT error codes. More...
 
enum  cy_en_mcwdt_enable_t {
  CY_MCWDT_DISABLE = 0u,
  CY_MCWDT_ENABLE
}
 The MCWDT Enable/Disable identifiers. More...
 
enum  cy_en_mcwdt_select_core_t {
  CY_MCWDT_PAUSED_BY_DPSLP_CM0 = 0u,
  CY_MCWDT_PAUSED_BY_DPSLP_CM4 = 1u,
  CY_MCWDT_PAUSED_BY_DPSLP_CM7_0 = 1u,
  CY_MCWDT_PAUSED_BY_DPSLP_CM7_1 = 2u,
  CY_MCWDT_PAUSED_BY_NO_CORE = 3u
}
 The MCWDT Deep Sleep Cores identifiers. More...
 
enum  cy_en_mcwdt_cnt2_action_t {
  CY_MCWDT_CNT2_ACTION_NONE,
  CY_MCWDT_CNT2_ACTION_INT
}
 The MCWDT subcounter 2 actions. More...
 
enum  cy_en_mcwdt_lower_upper_action_t {
  CY_MCWDT_ACTION_NONE,
  CY_MCWDT_ACTION_FAULT,
  CY_MCWDT_ACTION_FAULT_THEN_RESET
}
 The MCWDT lower and upper actions. More...
 
enum  cy_en_mcwdt_warn_action_t {
  CY_MCWDT_WARN_ACTION_NONE,
  CY_MCWDT_WARN_ACTION_INT
}
 The MCWDT warn actions. More...
 

Enumeration Type Documentation

◆ cy_en_mcwdtctr_t

The mcwdt sub-counter identifiers.

Enumerator
CY_MCWDT_COUNTER0 

Sub-counter#0 identifier.

CY_MCWDT_COUNTER1 

Sub-counter#1 identifier.

CY_MCWDT_COUNTER2 

Sub-counter#2 identifier.

◆ cy_en_mcwdtmode_t

The mcwdt modes.

Enumerator
CY_MCWDT_MODE_NONE 

The No action mode.

It is used for Set/GetMode functions.

CY_MCWDT_MODE_INT 

The Interrupt mode.

It is used for Set/GetMode functions.

CY_MCWDT_MODE_RESET 

The Reset mode.

It is used for Set/GetMode functions.

CY_MCWDT_MODE_INT_RESET 

The Three interrupts then watchdog reset mode.

It is used for Set/GetMode functions.

◆ cy_en_mcwdtcascade_t

The mcwdt cascading.

Enumerator
CY_MCWDT_CASCADE_NONE 

The cascading is disabled.

It is used for Set/GetCascade functions.

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.

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.

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.

◆ cy_en_mcwdtlowerlimit_t

The mcwdt lower limit identifiers.

Note
This enum is available for CAT1B and CAT1D devices.
Enumerator
CY_MCWDT_LOWER_LIMIT0 

Lower limit for Sub-counter#0 identifier.

CY_MCWDT_LOWER_LIMIT1 

Lower limit for Sub-counter#1 identifier.

◆ cy_en_mcwdtlowerlimitmode_t

The mcwdt lower limit mode identifiers.

Note
This enum is available for CAT1B devices.
Enumerator
CY_MCWDT_LOWER_LIMIT_MODE_NOTHING 

Do nothing.

CY_MCWDT_LOWER_LIMIT_MODE_INT 

Assert WDT_INTx.

CY_MCWDT_LOWER_LIMIT_MODE_RESET 

Assert WDT Reset.

◆ cy_en_mcwdt_status_t

The MCWDT error codes.

Enumerator
CY_MCWDT_SUCCESS 

Successful.

CY_MCWDT_BAD_PARAM 

One or more invalid parameters.

◆ cy_en_mcwdt_enable_t

The MCWDT Enable/Disable identifiers.

Note
Below enum is available for CAT1C and TVIIBE devices only.

◆ cy_en_mcwdt_select_core_t

The MCWDT Deep Sleep Cores identifiers.

Note
Below enum is available for CAT1C and TVIIBE devices only.

◆ cy_en_mcwdt_cnt2_action_t

The MCWDT subcounter 2 actions.

Note
Below enum is available for CAT1C and TVIIBE devices only.

◆ cy_en_mcwdt_lower_upper_action_t

The MCWDT lower and upper actions.

Note
Below enum is available for CAT1C and TVIIBE devices only.
Enumerator
CY_MCWDT_ACTION_NONE 

The No action mode.

It is used for Set/GetMode functions.

CY_MCWDT_ACTION_FAULT 

The Fault mode.

It is used for Set/GetMode functions.

CY_MCWDT_ACTION_FAULT_THEN_RESET 

The Reset mode.

It is used for Set/GetMode functions.

◆ cy_en_mcwdt_warn_action_t

The MCWDT warn actions.

Note
Below enum is available for CAT1C and TVIIBE devices only.