Functions | |
| __STATIC_INLINE void | Cy_Profile_Init (void) |
| Initializes and enables the profile hardware. More... | |
| __STATIC_INLINE void | Cy_Profile_DeInit (void) |
| Clears the interrupt mask and disables the profile hardware. More... | |
| void | Cy_Profile_StartProfiling (void) |
| Starts the profiling/measurement window. More... | |
| __STATIC_INLINE void | Cy_Profile_StopProfiling (void) |
| Stops the profiling/measurement window. More... | |
| __STATIC_INLINE uint32_t | Cy_Profile_IsProfiling (void) |
| Reports the active status of the profiling window. More... | |
| __STATIC_INLINE void Cy_Profile_Init | ( | void | ) |
Initializes and enables the profile hardware.
This function must be called once when energy profiling is desired. The operation does not start a profiling session.
| __STATIC_INLINE void Cy_Profile_DeInit | ( | void | ) |
Clears the interrupt mask and disables the profile hardware.
This function should be called when energy profiling is no longer desired.
| void Cy_Profile_StartProfiling | ( | void | ) |
Starts the profiling/measurement window.
This operation allows the enabled profile counters to start counting.
| __STATIC_INLINE void Cy_Profile_StopProfiling | ( | void | ) |
Stops the profiling/measurement window.
This operation prevents the enabled profile counters from counting.
| __STATIC_INLINE uint32_t Cy_Profile_IsProfiling | ( | void | ) |
Reports the active status of the profiling window.