MTB CAT1 Peripheral driver library

General Description

Enumerations

enum  cy_en_profile_ref_clk_t {
  CY_PROFILE_CLK_TIMER = 0,
  CY_PROFILE_CLK_IMO = 1,
  CY_PROFILE_CLK_ECO = 2,
  CY_PROFILE_CLK_LF = 3,
  CY_PROFILE_CLK_HF = 4,
  CY_PROFILE_CLK_PERI = 5
}
 Profile counter reference clock source. More...
 
enum  cy_en_profile_duration_t {
  CY_PROFILE_EVENT = 0,
  CY_PROFILE_DURATION = 1
}
 Monitor method type. More...
 
enum  cy_en_profile_status_t {
  CY_PROFILE_SUCCESS = 0x00U,
  CY_PROFILE_BAD_PARAM = CY_PROFILE_ID | CY_PDL_STATUS_ERROR | 1UL
}
 Profiler status codes. More...
 

Enumeration Type Documentation

◆ cy_en_profile_ref_clk_t

Profile counter reference clock source.

Used when duration monitoring.

Enumerator
CY_PROFILE_CLK_TIMER 

Timer clock (TimerClk)

CY_PROFILE_CLK_IMO 

Internal main oscillator (IMO)

CY_PROFILE_CLK_ECO 

External crystal oscillator (ECO)

CY_PROFILE_CLK_LF 

Low-frequency clock (LFCLK)

CY_PROFILE_CLK_HF 

High-Frequency clock (HFCLK0)

CY_PROFILE_CLK_PERI 

Peripheral clock (PeriClk)

◆ cy_en_profile_duration_t

Monitor method type.

Enumerator
CY_PROFILE_EVENT 

Count (edge-detected) module events.

CY_PROFILE_DURATION 

Count (level) duration in clock cycles.

◆ cy_en_profile_status_t

Profiler status codes.

Enumerator
CY_PROFILE_SUCCESS 

Operation completed successfully.

CY_PROFILE_BAD_PARAM 

Invalid input parameters.