| 数据搜索系统,热门电子元器件搜索 |
|
UM1561 数据表(PDF) 9 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM1561 数据表(HTML) 9 Page - STMicroelectronics |
|
9 / 39 page ![]() UM1561 STM32F1xx - internal peripherals for DC-DC section Doc ID 023556 Rev 1 9/39 /*Init peripherals */ DCAC_GPIO_Configuration(); DCAC_TIMx_Configuration(); DCAC_SetDeadTime(LocalDevice.Init.DeadTime); nRet = DCAC_ERROR_NONE; } } return nRet; } where: ● DCAC_GPIO_Configuration(); is (Configuration of the GPIO pin for PWM timers) ● DCAC_TIMx_Configuration(); is (Configuration of PWM timers, TIM2 and TIM3, for master-slave mode). DCDC_SendCommand(….) DCDC_Error_t DCDC_SendCommand(DCDC_Commands_t cmd) { DCDC_Error_t nRet; nRet = DCDC_ERROR_INVALID_COMMAND; if (cmd == DCDC_ConverterStart) { nRet = DCDC_ERROR_ON_SEND_COMMAND; if (DCDC_GetStatus() != DCDC_Running) { LocalDevice.State = DCDC_Running; // TIMx enable counter TIM_Cmd(TIM2, ENABLE); nRet = DCDC_ERROR_NONE; } } else if (cmd == DCDC_ConverterStop) { nRet = DCDC_ERROR_ON_SEND_COMMAND; if (DCDC_GetStatus() != DCDC_Stopped) { LocalDevice.State = DCDC_Stopped; |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |