Functions | |
| __STATIC_INLINE void | Cy_TCPWM_MOTIF_Enable (TCPWM_MOTIF_GRP_MOTIF_Type *base) |
| Enables the MOTIF module. More... | |
| __STATIC_INLINE void | Cy_TCPWM_MOTIF_Disable (TCPWM_MOTIF_GRP_MOTIF_Type *base) |
| Disables the MOTIF Module. More... | |
| __STATIC_INLINE void | Cy_TCPWM_MOTIF_Start (TCPWM_MOTIF_GRP_MOTIF_Type *base) |
| Modulation output from motif is started with existing values. More... | |
| __STATIC_INLINE void | Cy_TCPWM_MOTIF_Stop (TCPWM_MOTIF_GRP_MOTIF_Type *base) |
| Modulation output from motif retains the existing values and MOTIF functionality Stops. More... | |
| __STATIC_INLINE void | Cy_TCPWM_MOTIF_DeInit (TCPWM_MOTIF_GRP_MOTIF_Type *base) |
| De initializes MOTIF block. More... | |
| __STATIC_INLINE void | Cy_TCPWM_MOTIF_Suspend (TCPWM_MOTIF_GRP_MOTIF_Type *base, cy_en_motif_suspend_config_t suspend_config) |
| Configures the entering in suspend for the MOTIF module. More... | |
| __STATIC_INLINE uint32_t | Cy_TCPWM_MOTIF_GetInterruptStatus (TCPWM_MOTIF_GRP_MOTIF_Type *base) |
| Reports the status of the interrupts. More... | |
| __STATIC_INLINE void | Cy_TCPWM_MOTIF_ClearInterrupt (TCPWM_MOTIF_GRP_MOTIF_Type *base, uint32_t mask) |
| Clears the triggered interrupts. More... | |
| __STATIC_INLINE void | Cy_TCPWM_MOTIF_SetInterrupt (TCPWM_MOTIF_GRP_MOTIF_Type *base, uint32_t mask) |
| Software option to set the required interrupts. More... | |
| __STATIC_INLINE void | Cy_TCPWM_MOTIF_SetInterruptMask (TCPWM_MOTIF_GRP_MOTIF_Type *base, uint32_t mask) |
| Sets one or more MOTIF module interrupt factor bits (sets the INTR_MASK register). More... | |
| __STATIC_INLINE uint32_t | Cy_TCPWM_MOTIF_GetInterruptMask (TCPWM_MOTIF_GRP_MOTIF_Type *base) |
| Reports the interrupt mask set. More... | |
| __STATIC_INLINE uint8_t | Cy_TCPWM_MOTIF_Get_LUT_Status (TCPWM_MOTIF_GRP_MOTIF_Type *base) |
| Returns a value that points to the corresponding input Hall LUT values set. More... | |
| __STATIC_INLINE void | Cy_TCPWM_MOTIF_Set_LUT_Mode (TCPWM_MOTIF_GRP_MOTIF_Type *base, bool lut_enable) |
| Enables/disables LUT mode. More... | |
| uint16_t | Cy_TCPWM_MOTIF_Get_Lowpass_Filter_Status (TCPWM_MOTIF_GRP_MOTIF_Type *base, cy_en_low_pass_filter_number_t lowpass_filter) |
| Returns the status of the low pass filter. More... | |
| __STATIC_INLINE void Cy_TCPWM_MOTIF_Enable | ( | TCPWM_MOTIF_GRP_MOTIF_Type * | base | ) |
Enables the MOTIF module.
Modulation output from motif is started with it's default values
| base | The pointer to the TCPWM_MOTIF instance address. |
| __STATIC_INLINE void Cy_TCPWM_MOTIF_Disable | ( | TCPWM_MOTIF_GRP_MOTIF_Type * | base | ) |
Disables the MOTIF Module.
Modulation output from motif is reset to it's default value
| base | The pointer to the TCPWM_MOTIF instance address. |
| __STATIC_INLINE void Cy_TCPWM_MOTIF_Start | ( | TCPWM_MOTIF_GRP_MOTIF_Type * | base | ) |
Modulation output from motif is started with existing values.
| base | The pointer to the TCPWM_MOTIF instance address. |
| __STATIC_INLINE void Cy_TCPWM_MOTIF_Stop | ( | TCPWM_MOTIF_GRP_MOTIF_Type * | base | ) |
Modulation output from motif retains the existing values and MOTIF functionality Stops.
| base | The pointer to the TCPWM_MOTIF instance address. |
| __STATIC_INLINE void Cy_TCPWM_MOTIF_DeInit | ( | TCPWM_MOTIF_GRP_MOTIF_Type * | base | ) |
De initializes MOTIF block.
param base The pointer to the TCPWM_MOTIF instance address.
| __STATIC_INLINE void Cy_TCPWM_MOTIF_Suspend | ( | TCPWM_MOTIF_GRP_MOTIF_Type * | base, |
| cy_en_motif_suspend_config_t | suspend_config | ||
| ) |
Configures the entering in suspend for the MOTIF module.
| base | The pointer to the TCPWM_MOTIF instance address. |
| suspend_config | cy_en_motif_suspend_config_t |
| __STATIC_INLINE uint32_t Cy_TCPWM_MOTIF_GetInterruptStatus | ( | TCPWM_MOTIF_GRP_MOTIF_Type * | base | ) |
Reports the status of the interrupts.
| base | The pointer to the TCPWM_MOTIF instance address. |
| __STATIC_INLINE void Cy_TCPWM_MOTIF_ClearInterrupt | ( | TCPWM_MOTIF_GRP_MOTIF_Type * | base, |
| uint32_t | mask | ||
| ) |
Clears the triggered interrupts.
| base | The pointer to the TCPWM_MOTIF instance address. |
| mask | interrupts to be cleared. |
| __STATIC_INLINE void Cy_TCPWM_MOTIF_SetInterrupt | ( | TCPWM_MOTIF_GRP_MOTIF_Type * | base, |
| uint32_t | mask | ||
| ) |
Software option to set the required interrupts.
Interrupt handler will be called.
| base | The pointer to the TCPWM_MOTIF instance address. |
| mask | interrupts to be set. |
| __STATIC_INLINE void Cy_TCPWM_MOTIF_SetInterruptMask | ( | TCPWM_MOTIF_GRP_MOTIF_Type * | base, |
| uint32_t | mask | ||
| ) |
Sets one or more MOTIF module interrupt factor bits (sets the INTR_MASK register).
| base | The pointer to the TCPWM_MOTIF instance address. |
| mask | interrupt Interrupt bit mask |
| __STATIC_INLINE uint32_t Cy_TCPWM_MOTIF_GetInterruptMask | ( | TCPWM_MOTIF_GRP_MOTIF_Type * | base | ) |
Reports the interrupt mask set.
| base | The pointer to the TCPWM_MOTIF instance address. |
| __STATIC_INLINE uint8_t Cy_TCPWM_MOTIF_Get_LUT_Status | ( | TCPWM_MOTIF_GRP_MOTIF_Type * | base | ) |
Returns a value that points to the corresponding input Hall LUT values set.
| base | The pointer to the TCPWM_MOTIF instance address. |
| __STATIC_INLINE void Cy_TCPWM_MOTIF_Set_LUT_Mode | ( | TCPWM_MOTIF_GRP_MOTIF_Type * | base, |
| bool | lut_enable | ||
| ) |
Enables/disables LUT mode.
| base | The pointer to the TCPWM_MOTIF instance address. |
| lut_enable | LUT mode enable disable |
| uint16_t Cy_TCPWM_MOTIF_Get_Lowpass_Filter_Status | ( | TCPWM_MOTIF_GRP_MOTIF_Type * | base, |
| cy_en_low_pass_filter_number_t | lowpass_filter | ||
| ) |
Returns the status of the low pass filter.
| base | The pointer to the TCPWM_MOTIF instance address. |
| lowpass_filter | low pass filter. cy_en_low_pass_filter_number_t |