MTB CAT1 Peripheral driver library

General Description

API Reference

 Direct Sampler Masks
 
 Muxed Sampler Masks
 
 Result Interrupt Masks
 To be used with Cy_HPPASS_SAR_Result_GetInterruptStatusMasked, Cy_HPPASS_SAR_Result_ClearInterrupt, Cy_HPPASS_SAR_Result_GetOverflowStatus, Cy_HPPASS_SAR_Result_ClearOverflowStatus.
 
 Channel Indexes
 To be used with Cy_HPPASS_FIFO_Read, Cy_HPPASS_FIFO_ReadAll, Cy_HPPASS_SAR_Result_ChannelRead.
 
 Result Status Masks
 To be used with Cy_HPPASS_SAR_Result_GetStatus, Cy_HPPASS_SAR_Result_ClearStatus, Cy_HPPASS_SAR_Limit_GetStatus, Cy_HPPASS_SAR_Limit_ClearStatus.
 
 Sequencer Group Trigger Collision Status Masks
 To be used with Cy_HPPASS_SAR_GetTriggerCollisionStatus, Cy_HPPASS_SAR_ClearTriggerCollisionStatus.
 
 FIFO Trigger Masks
 To be used with Cy_HPPASS_FIFO_Config.
 
 Group_hppass_sar_limit_interrupts
 To be used with Cy_HPPASS_SAR_Limit_GetInterruptStatusMasked, Cy_HPPASS_SAR_Limit_ClearInterrupt.
 
 Group_hppass_fifo_level_interrupts
 To be used with Cy_HPPASS_FIFO_GetInterruptStatus, Cy_HPPASS_FIFO_GetInterruptStatusMasked, Cy_HPPASS_FIFO_SetInterrupt, Cy_HPPASS_FIFO_ClearInterrupt, Cy_HPPASS_FIFO_SetInterruptMask, Cy_HPPASS_FIFO_GetInterruptMask.
 

Macros

#define CY_HPPASS_SAR_GRP_NUM   (8U)
 The number of Sequencer Groups.
 
#define CY_HPPASS_SAR_CHAN_NUM   (28U)
 The number of channels.
 
#define CY_HPPASS_SAR_SAMP_TIME_NUM   (3U)
 The number of sample timers.
 
#define CY_HPPASS_SAR_LIMIT_NUM   (8U)
 The number of limit crossing detection blocks.
 
#define CY_HPPASS_SAR_DIR_SAMP_NUM   (12U)
 The number of the direct samplers.
 
#define CY_HPPASS_SAR_MUX_SAMP_NUM   (4U)
 The number of the muxed samplers.
 
#define CY_HPPASS_FIR_NUM   (2U)
 The number of FIR filters.
 
#define CY_HPPASS_FIR_TAP_NUM   (16U)
 The number of FIR filter taps.
 
#define CY_HPPASS_FIFO_NUM   (4U)
 The number of the FIFO pieces.
 
#define CY_HPPASS_SAR_SAMPLERS_DISABLED   (0x0U)
 All the samplers are disabled. More...
 
#define CY_HPPASS_SAR_CHAN_RSLT_PTR(chanIdx)   ((volatile const uint32_t *)&HPPASS_SAR_CHAN_RESULT(HPPASS_BASE, (chanIdx)))
 The pointer to the Channel Result register, useful for e.g. More...
 
#define CY_HPPASS_SAR_FIR_RSLT_PTR(firIdx)   ((volatile const uint32_t *)&HPPASS_SAR_FIR_RESULT(HPPASS_BASE, (firIdx)))
 The pointer to the FIR Result register, useful for e.g. More...
 
#define CY_HPPASS_SAR_FIFO_READ_PTR(fifoIdx)   ((volatile const uint32_t *)&HPPASS_MMIO_FIFO_RD_DATA(HPPASS_BASE, (fifoIdx)))
 The pointer to the FIFO Read Data register, useful for e.g. More...
 

Macro Definition Documentation

◆ CY_HPPASS_SAR_SAMPLERS_DISABLED

#define CY_HPPASS_SAR_SAMPLERS_DISABLED   (0x0U)

All the samplers are disabled.

◆ CY_HPPASS_SAR_CHAN_RSLT_PTR

#define CY_HPPASS_SAR_CHAN_RSLT_PTR (   chanIdx)    ((volatile const uint32_t *)&HPPASS_SAR_CHAN_RESULT(HPPASS_BASE, (chanIdx)))

The pointer to the Channel Result register, useful for e.g.

DMA descriptor initialization

◆ CY_HPPASS_SAR_FIR_RSLT_PTR

#define CY_HPPASS_SAR_FIR_RSLT_PTR (   firIdx)    ((volatile const uint32_t *)&HPPASS_SAR_FIR_RESULT(HPPASS_BASE, (firIdx)))

The pointer to the FIR Result register, useful for e.g.

DMA descriptor initialization

◆ CY_HPPASS_SAR_FIFO_READ_PTR

#define CY_HPPASS_SAR_FIFO_READ_PTR (   fifoIdx)    ((volatile const uint32_t *)&HPPASS_MMIO_FIFO_RD_DATA(HPPASS_BASE, (fifoIdx)))

The pointer to the FIFO Read Data register, useful for e.g.

DMA descriptor initialization