MTB CAT1 Peripheral driver library

General Description

Macros

#define CY_MOTIF_CORRECT_HALL_EVENT   TCPWM_MOTIF_GRP_MOTIF_PFLG_CHES_Msk
 Correct Hall Event Status Interrupt.
 
#define CY_MOTIF_WRONG_HALL_EVENT   TCPWM_MOTIF_GRP_MOTIF_PFLG_WHES_Msk
 Wrong Hall Event Status Interrupt.
 
#define CY_MOTIF_HALL_INPUT_UPDATE_EVENT   TCPWM_MOTIF_GRP_MOTIF_PFLG_HIES_Msk
 Hall Inputs Update Event Status Interrupt.
 
#define CY_MOTIF_MCP_SHADOW_TRANSFER_EVENT   TCPWM_MOTIF_GRP_MOTIF_PFLG_MSTS_Msk
 Multi-Channel pattern shadow transfer status.
 
#define CY_MOTIF_QUADRATURE_INDEX_EVENT   TCPWM_MOTIF_GRP_MOTIF_PFLG_INDXS_Msk
 Quadrature Index Status Interrupt.
 
#define CY_MOTIF_QUADRATURE_PHASE_ERROR_EVENT   TCPWM_MOTIF_GRP_MOTIF_PFLG_ERRS_Msk
 Quadrature Phase Error Status Interrupt.
 
#define CY_MOTIF_QUADRATURE_CLOCK_ERROR_EVENT   TCPWM_MOTIF_GRP_MOTIF_PFLG_CNTS_Msk
 Quadrature CLK error Interrupt.
 
#define CY_MOTIF_QUADRATURE_DIRECTION_CHANGE_EVENT   TCPWM_MOTIF_GRP_MOTIF_PFLG_DIRS_Msk
 Quadrature Direction Change Interrupt.
 
#define CY_MOTIF_QUADRATURE_PERIOD_CLOCK_ERROR_EVENT   TCPWM_MOTIF_GRP_MOTIF_PFLG_PCLKS_Msk
 QQuadrature Period Clk Status Interrupt.
 
#define CY_MOTIF_CURRENT_PATTERN_MATCH_EVENT   TCPWM_MOTIF_GRP_MOTIF_PFLG_CPES_Msk
 Equality between Sampled Hall input values and Current Pattern value detected. More...
 
#define CY_MOTIF_PREVIOUS_PATTERN_MATCH_EVENT   TCPWM_MOTIF_GRP_MOTIF_PFLG_PPES_Msk
 Equality between Sampled Hall input values and Previous Pattern value detected. More...
 
#define CY_MOTIF_ALL_INTERRUPTS
 Interrupt events in the MOTIF Module. More...
 
#define CY_MOTIF_HALL_INTERRUPTS
 Interrupt events in the MOTIF Module HALL Sensor mode. More...
 
#define CY_MOTIF_MCP_INTERRUPTS
 Interrupt events in the MOTIF Module Multi Channel Pattern Mode. More...
 
#define CY_MOTIF_QUDRATURE_INTERRUPTS
 Interrupt events in the MOTIF Module Quadrature Mode. More...
 

Macro Definition Documentation

◆ CY_MOTIF_CURRENT_PATTERN_MATCH_EVENT

#define CY_MOTIF_CURRENT_PATTERN_MATCH_EVENT   TCPWM_MOTIF_GRP_MOTIF_PFLG_CPES_Msk

Equality between Sampled Hall input values and Current Pattern value detected.

◆ CY_MOTIF_PREVIOUS_PATTERN_MATCH_EVENT

#define CY_MOTIF_PREVIOUS_PATTERN_MATCH_EVENT   TCPWM_MOTIF_GRP_MOTIF_PFLG_PPES_Msk

Equality between Sampled Hall input values and Previous Pattern value detected.

◆ CY_MOTIF_ALL_INTERRUPTS

#define CY_MOTIF_ALL_INTERRUPTS
Value:
CY_MOTIF_WRONG_HALL_EVENT |\
CY_MOTIF_HALL_INPUT_UPDATE_EVENT |\
CY_MOTIF_MCP_SHADOW_TRANSFER_EVENT |\
CY_MOTIF_QUADRATURE_INDEX_EVENT |\
CY_MOTIF_QUADRATURE_PHASE_ERROR_EVENT |\
CY_MOTIF_QUADRATURE_CLOCK_ERROR_EVENT |\
CY_MOTIF_QUADRATURE_DIRECTION_CHANGE_EVENT |\
CY_MOTIF_QUADRATURE_PERIOD_CLOCK_ERROR_EVENT |\
CY_MOTIF_CURRENT_PATTERN_MATCH_EVENT |\
CY_MOTIF_PREVIOUS_PATTERN_MATCH_EVENT)
#define CY_MOTIF_CORRECT_HALL_EVENT
Correct Hall Event Status Interrupt.
Definition: cy_tcpwm_motif.h:123

Interrupt events in the MOTIF Module.

◆ CY_MOTIF_HALL_INTERRUPTS

#define CY_MOTIF_HALL_INTERRUPTS
Value:
CY_MOTIF_WRONG_HALL_EVENT |\
CY_MOTIF_HALL_INPUT_UPDATE_EVENT |\
CY_MOTIF_MCP_SHADOW_TRANSFER_EVENT |\
CY_MOTIF_CURRENT_PATTERN_MATCH_EVENT |\
CY_MOTIF_PREVIOUS_PATTERN_MATCH_EVENT)
#define CY_MOTIF_CORRECT_HALL_EVENT
Correct Hall Event Status Interrupt.
Definition: cy_tcpwm_motif.h:123

Interrupt events in the MOTIF Module HALL Sensor mode.

◆ CY_MOTIF_MCP_INTERRUPTS

#define CY_MOTIF_MCP_INTERRUPTS
Value:
CY_MOTIF_CURRENT_PATTERN_MATCH_EVENT |\
CY_MOTIF_PREVIOUS_PATTERN_MATCH_EVENT)
#define CY_MOTIF_MCP_SHADOW_TRANSFER_EVENT
Multi-Channel pattern shadow transfer status.
Definition: cy_tcpwm_motif.h:126

Interrupt events in the MOTIF Module Multi Channel Pattern Mode.

◆ CY_MOTIF_QUDRATURE_INTERRUPTS

#define CY_MOTIF_QUDRATURE_INTERRUPTS
Value:
CY_MOTIF_QUADRATURE_PHASE_ERROR_EVENT |\
CY_MOTIF_QUADRATURE_CLOCK_ERROR_EVENT |\
CY_MOTIF_QUADRATURE_DIRECTION_CHANGE_EVENT |\
CY_MOTIF_QUADRATURE_PERIOD_CLOCK_ERROR_EVENT)
#define CY_MOTIF_QUADRATURE_INDEX_EVENT
Quadrature Index Status Interrupt.
Definition: cy_tcpwm_motif.h:127

Interrupt events in the MOTIF Module Quadrature Mode.