Functions | |
__STATIC_INLINE void | Cy_TCPWM_MOTIF_Configure_Postion_Decoder_Mode (TCPWM_MOTIF_GRP_MOTIF_Type *base, cy_en_position_decoder_mode_t mode) |
Configures Position Decoder to either Quad mode or direction count mode based on the selection. More... | |
__STATIC_INLINE bool | Cy_TCPWM_MOTIF_Get_Quaddec_Rotation_Direction (TCPWM_MOTIF_GRP_MOTIF_Type *base) |
returns the quaddec rotation direction. More... | |
__STATIC_INLINE void | Cy_TCPWM_MOTIF_Quaddec_Output_Config (TCPWM_MOTIF_GRP_MOTIF_Type *base, cy_stc_quaddec_output_config_t *output_config) |
Configures the output nodes for each of the quaddec output event. More... | |
cy_en_tcpwm_status_t | Cy_TCPWM_MOTIF_Quaddec_Init (TCPWM_MOTIF_GRP_MOTIF_Type *base, cy_stc_tcpwm_motif_quaddec_config_t const *config) |
MOTIF module initialization in Quadrature Decoder Mode. More... | |
__STATIC_INLINE void Cy_TCPWM_MOTIF_Configure_Postion_Decoder_Mode | ( | TCPWM_MOTIF_GRP_MOTIF_Type * | base, |
cy_en_position_decoder_mode_t | mode | ||
) |
Configures Position Decoder to either Quad mode or direction count mode based on the selection.
base | The pointer to the TCPWM_MOTIF instance address. |
mode | Mode to be set for the position decoder. cy_en_position_decoder_mode_t |
__STATIC_INLINE bool Cy_TCPWM_MOTIF_Get_Quaddec_Rotation_Direction | ( | TCPWM_MOTIF_GRP_MOTIF_Type * | base | ) |
returns the quaddec rotation direction.
base | The pointer to the TCPWM_MOTIF instance address. |
__STATIC_INLINE void Cy_TCPWM_MOTIF_Quaddec_Output_Config | ( | TCPWM_MOTIF_GRP_MOTIF_Type * | base, |
cy_stc_quaddec_output_config_t * | output_config | ||
) |
Configures the output nodes for each of the quaddec output event.
base | The pointer to the TCPWM_MOTIF instance address. |
output_config | Output configuration. cy_stc_quaddec_output_config_t |
cy_en_tcpwm_status_t Cy_TCPWM_MOTIF_Quaddec_Init | ( | TCPWM_MOTIF_GRP_MOTIF_Type * | base, |
cy_stc_tcpwm_motif_quaddec_config_t const * | config | ||
) |
MOTIF module initialization in Quadrature Decoder Mode.
base | The pointer to the TCPWM_MOTIF instance address. |
config | Quadrature decoder configuration cy_stc_tcpwm_motif_quaddec_config_t |