#include "STC8x_PWM.h"
FSCSTATE GPIO_PWM0_SWPort | ( | GPIOSWPort_Type | port | ) |
PWM0切换复用IO函数。
PWM0 switch out port control function.
[in] | port | 复用IO枚举体。IO switch enumerator. |
FSCSTATE GPIO_PWM1_SWPort | ( | GPIOSWPort_Type | port | ) |
PWM1切换复用IO函数。
PWM1 switch out port control function.
[in] | port | 复用IO枚举体。IO switch enumerator. |
FSCSTATE GPIO_PWM2_SWPort | ( | GPIOSWPort_Type | port | ) |
PWM2切换复用IO函数。
PWM2 switch out port control function.
[in] | port | 复用IO枚举体。IO switch enumerator. |
FSCSTATE GPIO_PWM3_SWPort | ( | GPIOSWPort_Type | port | ) |
PWM3切换复用IO函数。
PWM3 switch out port control function.
[in] | port | 复用IO枚举体。IO switch enumerator. |
FSCSTATE GPIO_PWM4_SWPort | ( | GPIOSWPort_Type | port | ) |
PWM4切换复用IO函数。
PWM4 switch out port control function.
[in] | port | 复用IO枚举体。IO switch enumerator. |
FSCSTATE GPIO_PWM5_SWPort | ( | GPIOSWPort_Type | port | ) |
PWM5切换复用IO函数。
PWM5 switch out port control function.
[in] | port | 复用IO枚举体。IO switch enumerator. |
FSCSTATE GPIO_PWM6_SWPort | ( | GPIOSWPort_Type | port | ) |
PWM6切换复用IO函数。
PWM6 switch out port control function.
[in] | port | 复用IO枚举体。IO switch enumerator. |
FSCSTATE GPIO_PWM7_SWPort | ( | GPIOSWPort_Type | port | ) |
PWM7切换复用IO函数。
PWM7 switch out port control function.
[in] | port | 复用IO枚举体。IO switch enumerator. |
FSCSTATE NVIC_PWM0_Init | ( | PWMFlip_Type | flipPoint | ) |
PWM0中断初始化函数,设置触发中断的电平翻转点。
PWM0 interrupt initialization function, set the level flip point that triggers the interrupt.
[in] | flipPoint | 电平翻转点 Level flip point. |
FSCSTATE NVIC_PWM1_Init | ( | PWMFlip_Type | flipPoint | ) |
PWM1中断初始化函数,设置触发中断的电平翻转点。
PWM1 interrupt initialization function, set the level flip point that triggers the interrupt.
[in] | flipPoint | 电平翻转点 Level flip point. |
FSCSTATE NVIC_PWM2_Init | ( | PWMFlip_Type | flipPoint | ) |
PWM2中断初始化函数,设置触发中断的电平翻转点。
PWM2 interrupt initialization function, set the level flip point that triggers the interrupt.
[in] | flipPoint | 电平翻转点 Level flip point. |
FSCSTATE NVIC_PWM3_Init | ( | PWMFlip_Type | flipPoint | ) |
PWM3中断初始化函数,设置触发中断的电平翻转点。
PWM3 interrupt initialization function, set the level flip point that triggers the interrupt.
[in] | flipPoint | 电平翻转点 Level flip point. |
FSCSTATE NVIC_PWM4_Init | ( | PWMFlip_Type | flipPoint | ) |
PWM4中断初始化函数,设置触发中断的电平翻转点。
PWM4 interrupt initialization function, set the level flip point that triggers the interrupt.
[in] | flipPoint | 电平翻转点 Level flip point. |
FSCSTATE NVIC_PWM5_Init | ( | PWMFlip_Type | flipPoint | ) |
PWM5中断初始化函数,设置触发中断的电平翻转点。
PWM5 interrupt initialization function, set the level flip point that triggers the interrupt.
[in] | flipPoint | 电平翻转点 Level flip point. |
FSCSTATE NVIC_PWM6_Init | ( | PWMFlip_Type | flipPoint | ) |
PWM6中断初始化函数,设置触发中断的电平翻转点。
PWM6 interrupt initialization function, set the level flip point that triggers the interrupt.
[in] | flipPoint | 电平翻转点 Level flip point. |
FSCSTATE NVIC_PWM7_Init | ( | PWMFlip_Type | flipPoint | ) |
PWM7中断初始化函数,设置触发中断的电平翻转点。
PWM7 interrupt initialization function, set the level flip point that triggers the interrupt.
[in] | flipPoint | 电平翻转点 Level flip point. |
FSCSTATE NVIC_PWM_ABD_Init | ( | NVICPri_Type | pri, |
BOOL | run | ||
) |
PWM异常检测中断初始化函数。
PWM abnormal detection NVIC function.
[in] | pri | 中断优先级。interrupt priority. |
[in] | run | 使能控制位。enable control. |
FSCSTATE NVIC_PWM_CNT_Init | ( | NVICPri_Type | pri, |
BOOL | run | ||
) |
PWM计数器中断初始化函数。
PWM Counter NVIC function.
[in] | pri | 中断优先级。interrupt priority. |
[in] | run | 使能控制位。enable control. |
FSCSTATE PWM0_Init | ( | PWMStartLevel_Type | level, |
uint16_t | fValue, | ||
uint16_t | sValue, | ||
BOOL | run | ||
) |
PWM0通道初始化函数,它必须在PWM计数器初始化函数之前调用。
PWM0 road init function,it is best to initialize before the counter.
[in] | level | PWM开始电平。PWM start level. |
[in] | fValue | 第一个电平翻转点。The value of the first reversal point. |
[in] | sValue | 第二个电平翻转点。The value of the second reversal point. |
[in] | run | 运行控制位。Run control bit. |
FSCSTATE PWM1_Init | ( | PWMStartLevel_Type | level, |
uint16_t | fValue, | ||
uint16_t | sValue, | ||
BOOL | run | ||
) |
PWM1通道初始化函数,它必须在PWM计数器初始化函数之前调用。
PWM1 road init function,it is best to initialize before the counter.
[in] | level | PWM开始电平。PWM start level. |
[in] | fValue | 第一个电平翻转点。The value of the first reversal point. |
[in] | sValue | 第二个电平翻转点。The value of the second reversal point. |
[in] | run | 运行控制位。Run control bit. |
FSCSTATE PWM2_Init | ( | PWMStartLevel_Type | level, |
uint16_t | fValue, | ||
uint16_t | sValue, | ||
BOOL | run | ||
) |
PWM2通道初始化函数,它必须在PWM计数器初始化函数之前调用。
PWM2 road init function,it is best to initialize before the counter.
[in] | level | PWM开始电平。PWM start level. |
[in] | fValue | 第一个电平翻转点。The value of the first reversal point. |
[in] | sValue | 第二个电平翻转点。The value of the second reversal point. |
[in] | run | 运行控制位。Run control bit. |
FSCSTATE PWM3_Init | ( | PWMStartLevel_Type | level, |
uint16_t | fValue, | ||
uint16_t | sValue, | ||
BOOL | run | ||
) |
PWM3通道初始化函数,它必须在PWM计数器初始化函数之前调用。
PWM3 road init function,it is best to initialize before the counter.
[in] | level | PWM开始电平。PWM start level. |
[in] | fValue | 第一个电平翻转点。The value of the first reversal point. |
[in] | sValue | 第二个电平翻转点。The value of the second reversal point. |
[in] | run | 运行控制位。Run control bit. |
FSCSTATE PWM4_Init | ( | PWMStartLevel_Type | level, |
uint16_t | fValue, | ||
uint16_t | sValue, | ||
BOOL | run | ||
) |
PWM4通道初始化函数,它必须在PWM计数器初始化函数之前调用。
PWM4 road init function,it is best to initialize before the counter.
[in] | level | PWM开始电平。PWM start level. |
[in] | fValue | 第一个电平翻转点。The value of the first reversal point. |
[in] | sValue | 第二个电平翻转点。The value of the second reversal point. |
[in] | run | 运行控制位。Run control bit. |
FSCSTATE PWM5_Init | ( | PWMStartLevel_Type | level, |
uint16_t | fValue, | ||
uint16_t | sValue, | ||
BOOL | run | ||
) |
PWM5通道初始化函数,它必须在PWM计数器初始化函数之前调用。
PWM5 road init function,it is best to initialize before the counter.
[in] | level | PWM开始电平。PWM start level. |
[in] | fValue | 第一个电平翻转点。The value of the first reversal point. |
[in] | sValue | 第二个电平翻转点。The value of the second reversal point. |
[in] | run | 运行控制位。Run control bit. |
FSCSTATE PWM6_Init | ( | PWMStartLevel_Type | level, |
uint16_t | fValue, | ||
uint16_t | sValue, | ||
BOOL | run | ||
) |
PWM6通道初始化函数,它必须在PWM计数器初始化函数之前调用。
PWM6 road init function,it is best to initialize before the counter.
[in] | level | PWM开始电平。PWM start level. |
[in] | fValue | 第一个电平翻转点。The value of the first reversal point. |
[in] | sValue | 第二个电平翻转点。The value of the second reversal point. |
[in] | run | 运行控制位。Run control bit. |
FSCSTATE PWM7_Init | ( | PWMStartLevel_Type | level, |
uint16_t | fValue, | ||
uint16_t | sValue, | ||
BOOL | run | ||
) |
PWM7通道初始化函数,它必须在PWM计数器初始化函数之前调用。
PWM7 road init function,it is best to initialize before the counter.
[in] | level | PWM开始电平。PWM start level. |
[in] | fValue | 第一个电平翻转点。The value of the first reversal point. |
[in] | sValue | 第二个电平翻转点。The value of the second reversal point. |
[in] | run | 运行控制位。Run control bit. |
FSCSTATE PWM_ABD_Init | ( | PWMABDSignal_Type | sigSrc, |
PWMABDMode_Type | mode, | ||
BOOL | run | ||
) |
PWM异常检测初始化函数。
PWM abnormal detection init function.
[in] | sigSrc | 异常检测信号源。Anomaly detection signal source. |
[in] | mode | 异常检测模式选择。Anomaly detection mode selection. |
[in] | run | 运行控制位。Run control bit. |
FSCSTATE PWM_CNT_Init | ( | PWMCLKSrc_Type | clkSrc, |
uint16_t | period, | ||
BOOL | run | ||
) |
PWM计数器初始化,必须在所有PWM初始化函数的后面调用。
PWM counter init function,It must be initialized last.
[in] | clkSrc | PWM时钟源。PWM clock source. |
[in] | period | PWM周期值(计数器重装载值)。PWM period value (counter reload value) |
[in] | run | 运行控制位。Run control bit. |