Functions | |
| uint8_t | SelfTest_PWM (GPIO_PRT_Type *pinbase, uint32_t pinNum) |
| This function performs the PWM test and verifies that the duty cycle set is actually achieved in the output. | |
| uint8_t | SelfTest_PWM_init (TCPWM_Type *base, uint32_t cntNum, cy_stc_tcpwm_pwm_config_t const *config, IRQn_Type intr_src) |
| Initialize Timer interrupt for the Self test. | |
| void | SelfTest_PWM_DeInit (IRQn_Type intr_src) |
| De-initialize the PWM self test, disabling the peripheral and its interrupt. | |
| uint8_t SelfTest_PWM | ( | GPIO_PRT_Type * | pinbase, |
| uint32_t | pinNum ) |
This function performs the PWM test and verifies that the duty cycle set is actually achieved in the output.
| pinbase | The pointer to the GPIO port instance to which the PWM pin is connected. |
| pinNum | The GPIO pin number to which the PWM pin is connected. |
| uint8_t SelfTest_PWM_init | ( | TCPWM_Type * | base, |
| uint32_t | cntNum, | ||
| cy_stc_tcpwm_pwm_config_t const * | config, | ||
| IRQn_Type | intr_src ) |
Initialize Timer interrupt for the Self test.
| base | The pointer to a TCPWM instance. |
| cntNum | The Counter instance number in the selected TCPWM. |
| config | The pointer to the configuration structure. |
| intr_src | Interrupt source |
| void SelfTest_PWM_DeInit | ( | IRQn_Type | intr_src | ) |
De-initialize the PWM self test, disabling the peripheral and its interrupt.
| intr_src | Interrupt source passed to SelfTest_PWM_init. |