Functions | |
| __STATIC_INLINE void | Cy_TCPWM_MOTIF_Set_MCP_Value (TCPWM_MOTIF_GRP_MOTIF_Type *base, uint32_t mcp_value) |
| Sets Multi channel pattern value. More... | |
| __STATIC_INLINE void | Cy_TCPWM_MOTIF_MCP_Value_When_Fault_Hall (TCPWM_MOTIF_GRP_MOTIF_Type *base, uint32_t mcp_value) |
| Sets MCP value when there is a fault HALL event. More... | |
| __STATIC_INLINE void | Cy_TCPWM_MOTIF_MCP_Bypass_Delay (TCPWM_MOTIF_GRP_MOTIF_Type *base, bool bypass_delay) |
| Enable/Disable multi channel pattern delay bypass. More... | |
| __STATIC_INLINE void | Cy_TCPWM_MOTIF_Update_Multi_Channel_Pattern (TCPWM_MOTIF_GRP_MOTIF_Type *base) |
| Update multi channel pattern. More... | |
| __STATIC_INLINE void | Cy_TCPWM_MOTIF_Clear_Multi_Channel_Pattern (TCPWM_MOTIF_GRP_MOTIF_Type *base) |
| Clears the Multi-Channel Pattern value with the content of the MCP Fault register. More... | |
| __STATIC_INLINE void | Cy_TCPWM_MOTIF_Clear_Updation_Of_Multi_Channel_Pattern (TCPWM_MOTIF_GRP_MOTIF_Type *base) |
| Clears updating of multi channel pattern. More... | |
| __STATIC_INLINE void | Cy_TCPWM_MOTIF_Update_Multi_Channel_Pattern_Immediately (TCPWM_MOTIF_GRP_MOTIF_Type *base) |
| Update multi channel pattern immediately. More... | |
| __STATIC_INLINE bool | Cy_TCPWM_MOTIF_Get_Multi_Channel_Pattern_Update_Status (TCPWM_MOTIF_GRP_MOTIF_Type *base) |
| returns the Multi Channel Pattern update status. More... | |
| __STATIC_INLINE void | Cy_TCPWM_MOTIF_MCP_SW_Update_Enable (TCPWM_MOTIF_GRP_MOTIF_Type *base, bool sw_update_enable) |
| Selects the source that enables an update of the Multi-Channel pattern. More... | |
| __STATIC_INLINE void | Cy_TCPWM_MOTIF_Multi_Channel_Output_Config (TCPWM_MOTIF_GRP_MOTIF_Type *base, cy_stc_multi_channel_output_config_t *output_config) |
| Configures the output nodes for each of the Multi Channel Pattern output event. More... | |
| __STATIC_INLINE void | Cy_TCPWM_MOTIF_MCP_Bypass_Synchronization (TCPWM_MOTIF_GRP_MOTIF_Type *base, bool bypass_sync) |
| Synchronization of the trigger with the PWM is bypassed if set. More... | |
| void | Cy_TCPWM_MOTIF_Update_MLUT (TCPWM_MOTIF_GRP_MOTIF_Type *base, cy_stc_tcpwm_motif_mlut_t *mlut_config) |
| Update look up table for multi channel pattern MLUT mode. More... | |
| cy_en_tcpwm_status_t | Cy_TCPWM_MOTIF_MCP_Init (TCPWM_MOTIF_GRP_MOTIF_Type *base, cy_stc_tcpwm_motif_mcp_config_t const *mcp_config) |
| MOTIF module initialization in Multi Channel Pattern Mode. More... | |
| cy_en_tcpwm_status_t | Cy_TCPWM_MOTIF_MCP_Quaddec_Init (TCPWM_MOTIF_GRP_MOTIF_Type *base, cy_stc_tcpwm_motif_mcp_quaddec_config_t const *mcp_quad_config) |
| MOTIF module initialization in Quadrature Decoder Mode and Multi Channel Pattern mode. More... | |
| __STATIC_INLINE void Cy_TCPWM_MOTIF_Set_MCP_Value | ( | TCPWM_MOTIF_GRP_MOTIF_Type * | base, |
| uint32_t | mcp_value | ||
| ) |
Sets Multi channel pattern value.
Every time a multi channel pattern transfer is triggered, this value is transferred. This is applicable when multi channel look up table mode is disabled.
| base | The pointer to the TCPWM_MOTIF instance address. |
| mcp_value | Multi Channel Pattern Value |
| __STATIC_INLINE void Cy_TCPWM_MOTIF_MCP_Value_When_Fault_Hall | ( | TCPWM_MOTIF_GRP_MOTIF_Type * | base, |
| uint32_t | mcp_value | ||
| ) |
Sets MCP value when there is a fault HALL event.
| base | The pointer to the TCPWM_MOTIF instance address. |
| mcp_value | Multi channel pattern value to be configured when there is a fault HALL event. |
| __STATIC_INLINE void Cy_TCPWM_MOTIF_MCP_Bypass_Delay | ( | TCPWM_MOTIF_GRP_MOTIF_Type * | base, |
| bool | bypass_delay | ||
| ) |
Enable/Disable multi channel pattern delay bypass.
| base | The pointer to the TCPWM_MOTIF instance address. |
| bypass_delay | Bypass Delay. |
| __STATIC_INLINE void Cy_TCPWM_MOTIF_Update_Multi_Channel_Pattern | ( | TCPWM_MOTIF_GRP_MOTIF_Type * | base | ) |
Update multi channel pattern.
The update is not done immediately due to the fact that the trigger that synchronizes the update with the PWM is still needed
| base | The pointer to the TCPWM_MOTIF instance address. |
| __STATIC_INLINE void Cy_TCPWM_MOTIF_Clear_Multi_Channel_Pattern | ( | TCPWM_MOTIF_GRP_MOTIF_Type * | base | ) |
Clears the Multi-Channel Pattern value with the content of the MCP Fault register.
| base | The pointer to the TCPWM_MOTIF instance address. |
| __STATIC_INLINE void Cy_TCPWM_MOTIF_Clear_Updation_Of_Multi_Channel_Pattern | ( | TCPWM_MOTIF_GRP_MOTIF_Type * | base | ) |
Clears updating of multi channel pattern.
Sets that Multi channel pattern is not ready to be updated.
| base | The pointer to the TCPWM_MOTIF instance address. |
| __STATIC_INLINE void Cy_TCPWM_MOTIF_Update_Multi_Channel_Pattern_Immediately | ( | TCPWM_MOTIF_GRP_MOTIF_Type * | base | ) |
Update multi channel pattern immediately.
| base | The pointer to the TCPWM_MOTIF instance address. |
| __STATIC_INLINE bool Cy_TCPWM_MOTIF_Get_Multi_Channel_Pattern_Update_Status | ( | TCPWM_MOTIF_GRP_MOTIF_Type * | base | ) |
returns the Multi Channel Pattern update status.
| base | The pointer to the TCPWM_MOTIF instance address. |
| __STATIC_INLINE void Cy_TCPWM_MOTIF_MCP_SW_Update_Enable | ( | TCPWM_MOTIF_GRP_MOTIF_Type * | base, |
| bool | sw_update_enable | ||
| ) |
Selects the source that enables an update of the Multi-Channel pattern.
| base | The pointer to the TCPWM_MOTIF instance address. |
| sw_update_enable | When set to true, the Multi-Channel pattern can only be updated after the SW has called the function Cy_TCPWM_MOTIF_Update_Multi_Channel_Pattern. |
| __STATIC_INLINE void Cy_TCPWM_MOTIF_Multi_Channel_Output_Config | ( | TCPWM_MOTIF_GRP_MOTIF_Type * | base, |
| cy_stc_multi_channel_output_config_t * | output_config | ||
| ) |
Configures the output nodes for each of the Multi Channel Pattern output event.
| base | The pointer to the TCPWM_MOTIF instance address. |
| output_config | Output configuration. cy_stc_multi_channel_output_config_t |
| __STATIC_INLINE void Cy_TCPWM_MOTIF_MCP_Bypass_Synchronization | ( | TCPWM_MOTIF_GRP_MOTIF_Type * | base, |
| bool | bypass_sync | ||
| ) |
Synchronization of the trigger with the PWM is bypassed if set.
| base | The pointer to the TCPWM_MOTIF instance address. |
| bypass_sync | Synchronization bypass configuration. |
| void Cy_TCPWM_MOTIF_Update_MLUT | ( | TCPWM_MOTIF_GRP_MOTIF_Type * | base, |
| cy_stc_tcpwm_motif_mlut_t * | mlut_config | ||
| ) |
Update look up table for multi channel pattern MLUT mode.
| base | The pointer to the TCPWM_MOTIF instance address. |
| mlut_config | Multi Channel Pattern Look UP Table values. cy_stc_tcpwm_motif_mlut_t |
| cy_en_tcpwm_status_t Cy_TCPWM_MOTIF_MCP_Init | ( | TCPWM_MOTIF_GRP_MOTIF_Type * | base, |
| cy_stc_tcpwm_motif_mcp_config_t const * | mcp_config | ||
| ) |
MOTIF module initialization in Multi Channel Pattern Mode.
| base | The pointer to the TCPWM_MOTIF instance address. |
| mcp_config | Multi Channel Pattern configuration cy_stc_tcpwm_motif_mcp_config_t |
| cy_en_tcpwm_status_t Cy_TCPWM_MOTIF_MCP_Quaddec_Init | ( | TCPWM_MOTIF_GRP_MOTIF_Type * | base, |
| cy_stc_tcpwm_motif_mcp_quaddec_config_t const * | mcp_quad_config | ||
| ) |
MOTIF module initialization in Quadrature Decoder Mode and Multi Channel Pattern mode.
| base | The pointer to the TCPWM_MOTIF instance address. |
| mcp_quad_config | MCP and Quad configuration cy_stc_tcpwm_motif_mcp_quaddec_config_t |