Searched refs:PWM_TypeDef (Results 1 – 11 of 11) sorted by relevance
| /bsp/synwit/libraries/SWM320_CSL/SWM320_StdPeriph_Driver/ |
| A D | SWM320_pwm.h | 37 void PWM_Init(PWM_TypeDef * PWMx, PWM_InitStructure * initStruct); //PWM初始化 41 void PWM_SetCycle(PWM_TypeDef * PWMx, uint32_t chn, uint16_t cycle); //设置周期 42 uint16_t PWM_GetCycle(PWM_TypeDef * PWMx, uint32_t chn); //获取周期 43 void PWM_SetHDuty(PWM_TypeDef * PWMx, uint32_t chn, uint16_t hduty); //设置高电平时长 44 uint16_t PWM_GetHDuty(PWM_TypeDef * PWMx, uint32_t chn); //获取高电平时长 45 void PWM_SetDeadzone(PWM_TypeDef * PWMx, uint32_t chn, uint8_t deadzone); //设置死区时长 46 uint8_t PWM_GetDeadzone(PWM_TypeDef * PWMx, uint32_t chn); //获取死区时长 48 void PWM_IntNCycleEn(PWM_TypeDef * PWMx, uint32_t chn); //新周期开始中断使能 49 void PWM_IntNCycleDis(PWM_TypeDef * PWMx, uint32_t chn); //新周期开始中断禁能 52 void PWM_IntHEndEn(PWM_TypeDef * PWMx, uint32_t chn); //高电平结束中断使能 [all …]
|
| A D | SWM320_pwm.c | 150 void PWM_Stop(PWM_TypeDef * PWMx, uint32_t chA, uint32_t chB) in PWM_Stop() 205 uint16_t PWM_GetCycle(PWM_TypeDef * PWMx, uint32_t chn) in PWM_GetCycle() 242 uint16_t PWM_GetHDuty(PWM_TypeDef * PWMx, uint32_t chn) in PWM_GetHDuty() 279 uint8_t PWM_GetDeadzone(PWM_TypeDef * PWMx, uint32_t chn) in PWM_GetDeadzone() 300 void PWM_IntNCycleEn(PWM_TypeDef * PWMx, uint32_t chn) in PWM_IntNCycleEn() 344 void PWM_IntNCycleDis(PWM_TypeDef * PWMx, uint32_t chn) in PWM_IntNCycleDis() 388 void PWM_IntNCycleClr(PWM_TypeDef * PWMx, uint32_t chn) in PWM_IntNCycleClr() 481 void PWM_IntHEndEn(PWM_TypeDef * PWMx, uint32_t chn) in PWM_IntHEndEn() 525 void PWM_IntHEndDis(PWM_TypeDef * PWMx, uint32_t chn) in PWM_IntHEndDis() 569 void PWM_IntHEndClr(PWM_TypeDef * PWMx, uint32_t chn) in PWM_IntHEndClr() [all …]
|
| /bsp/synwit/libraries/SWM341_CSL/SWM341_StdPeriph_Driver/ |
| A D | SWM341_pwm.h | 90 void PWM_Init(PWM_TypeDef * PWMx, PWM_InitStructure * initStruct); //PWM初始化 106 void PWM_SetPeriod(PWM_TypeDef * PWMx, uint16_t period); //设置周期 107 uint16_t PWM_GetPeriod(PWM_TypeDef * PWMx); //获取周期 108 void PWM_SetHDuty(PWM_TypeDef * PWMx, uint32_t chn, uint16_t hduty); //设置高电平时长 109 uint16_t PWM_GetHDuty(PWM_TypeDef * PWMx, uint32_t chn); //获取高电平时长 112 void PWM_SetDeadzone(PWM_TypeDef * PWMx, uint32_t chn, uint16_t deadzone); //设置死区时长 113 uint16_t PWM_GetDeadzone(PWM_TypeDef * PWMx, uint32_t chn); //获取死区时长 115 void PWM_IntEn(PWM_TypeDef * PWMx, uint32_t it); //中断使能 116 void PWM_IntDis(PWM_TypeDef * PWMx, uint32_t it); //中断禁能 117 void PWM_IntClr(PWM_TypeDef * PWMx, uint32_t it); //中断标志清除 [all …]
|
| A D | SWM341_pwm.c | 33 void PWM_Init(PWM_TypeDef * PWMx, PWM_InitStructure * initStruct) in PWM_Init() 306 void PWM_SetPeriod(PWM_TypeDef * PWMx, uint16_t period) in PWM_SetPeriod() 318 uint16_t PWM_GetPeriod(PWM_TypeDef * PWMx) in PWM_GetPeriod() 332 void PWM_SetHDuty(PWM_TypeDef * PWMx, uint32_t chn, uint16_t hduty) in PWM_SetHDuty() 348 uint16_t PWM_GetHDuty(PWM_TypeDef * PWMx, uint32_t chn) in PWM_GetHDuty() 412 void PWM_SetDeadzone(PWM_TypeDef * PWMx, uint32_t chn, uint16_t deadzone) in PWM_SetDeadzone() 428 uint16_t PWM_GetDeadzone(PWM_TypeDef * PWMx, uint32_t chn) in PWM_GetDeadzone() 446 void PWM_IntEn(PWM_TypeDef * PWMx, uint32_t it) in PWM_IntEn() 460 void PWM_IntDis(PWM_TypeDef * PWMx, uint32_t it) in PWM_IntDis() 474 void PWM_IntClr(PWM_TypeDef * PWMx, uint32_t it) in PWM_IntClr() [all …]
|
| /bsp/Vango/v85xx/Libraries/VangoV85xx_standard_peripheral/Include/ |
| A D | lib_pwm.h | 149 void PWM_BaseInit(PWM_TypeDef *PWMx, PWM_BaseInitType *InitStruct); 151 void PWM_OC0Init(PWM_TypeDef *PWMx, PWM_OCInitType *OCInitType); 152 void PWM_OC1Init(PWM_TypeDef *PWMx, PWM_OCInitType *OCInitType); 153 void PWM_OC2Init(PWM_TypeDef *PWMx, PWM_OCInitType *OCInitType); 157 void PWM_BaseINTConfig(PWM_TypeDef *PWMx, uint32_t NewState); 158 uint8_t PWM_GetBaseINTStatus(PWM_TypeDef *PWMx); 159 void PWM_ClearBaseINTStatus(PWM_TypeDef *PWMx); 161 uint8_t PWM_GetChannelINTStatus(PWM_TypeDef *PWMx, uint32_t Channel); 162 void PWM_ClearChannelINTStatus(PWM_TypeDef *PWMx, uint32_t Channel); 165 void PWM_ClearCounter(PWM_TypeDef *PWMx); [all …]
|
| /bsp/Vango/v85xx/Libraries/VangoV85xx_standard_peripheral/Source/ |
| A D | lib_pwm.c | 34 void PWM_BaseInit(PWM_TypeDef *PWMx, PWM_BaseInitType *InitStruct) in PWM_BaseInit() 100 void PWM_OC0Init(PWM_TypeDef *PWMx, PWM_OCInitType *OCInitType) in PWM_OC0Init() 132 void PWM_OC1Init(PWM_TypeDef *PWMx, PWM_OCInitType *OCInitType) in PWM_OC1Init() 164 void PWM_OC2Init(PWM_TypeDef *PWMx, PWM_OCInitType *OCInitType) in PWM_OC2Init() 188 void PWM_BaseINTConfig(PWM_TypeDef *PWMx, uint32_t NewState) in PWM_BaseINTConfig() 210 uint8_t PWM_GetBaseINTStatus(PWM_TypeDef *PWMx) in PWM_GetBaseINTStatus() 226 void PWM_ClearBaseINTStatus(PWM_TypeDef *PWMx) in PWM_ClearBaseINTStatus() 275 uint8_t PWM_GetChannelINTStatus(PWM_TypeDef *PWMx, uint32_t Channel) in PWM_GetChannelINTStatus() 305 void PWM_ClearChannelINTStatus(PWM_TypeDef *PWMx, uint32_t Channel) in PWM_ClearChannelINTStatus() 327 void PWM_ClearCounter(PWM_TypeDef *PWMx) in PWM_ClearCounter() [all …]
|
| /bsp/synwit/libraries/SWM320_CSL/CMSIS/DeviceSupport/ |
| A D | SWM320.h | 1837 } PWM_TypeDef; typedef 3118 #define PWM0 ((PWM_TypeDef *) PWM0_BASE) 3119 #define PWM1 ((PWM_TypeDef *) PWM1_BASE) 3120 #define PWM2 ((PWM_TypeDef *) PWM2_BASE) 3121 #define PWM3 ((PWM_TypeDef *) PWM3_BASE) 3122 #define PWM4 ((PWM_TypeDef *) PWM4_BASE) 3123 #define PWM5 ((PWM_TypeDef *) PWM5_BASE)
|
| /bsp/synwit/libraries/SWM320_drivers/ |
| A D | drv_pwm.c | 164 PWM_TypeDef *PWMx;
|
| /bsp/synwit/libraries/SWM341_drivers/ |
| A D | drv_pwm.c | 191 PWM_TypeDef *PWMx;
|
| /bsp/synwit/libraries/SWM341_CSL/CMSIS/DeviceSupport/ |
| A D | SWM341.h | 1607 } PWM_TypeDef; typedef 3939 #define PWM0 ((PWM_TypeDef *) PWM0_BASE) 3940 #define PWM1 ((PWM_TypeDef *) PWM1_BASE) 3941 #define PWM2 ((PWM_TypeDef *) PWM2_BASE) 3942 #define PWM3 ((PWM_TypeDef *) PWM3_BASE) 3943 #define PWM4 ((PWM_TypeDef *) PWM4_BASE)
|
| /bsp/Vango/v85xx/Libraries/CMSIS/Vango/V85xx/Include/ |
| A D | target.h | 412 } PWM_TypeDef; typedef 611 #define PWM0 ((PWM_TypeDef *) PWM0_BASE) 612 #define PWM1 ((PWM_TypeDef *) PWM1_BASE) 613 #define PWM2 ((PWM_TypeDef *) PWM2_BASE) 614 #define PWM3 ((PWM_TypeDef *) PWM3_BASE)
|
Completed in 88 milliseconds