| Electronic Components Datasheet Search |
|
UM1561 Datasheet(PDF) 13 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM1561 Datasheet(HTML) 13 Page - STMicroelectronics |
|
13 / 39 page ![]() UM1561 STM32F1xx - internal peripherals for DC-AC section Doc ID 023556 Rev 1 13/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 TIM8 timer and for GPIO function) ● DCAC_TIMx_Configuration(); is (Configuration of PWM timer). This function includes the init code for the advanced timer TIM8 and GPIO. DCAC_SendCommand(…): This function includes the start/stop command for the output of the advanced timer TIM8 (inverter modulation). DCAC_Error_t DCAC_SendCommand(DCAC_Commands_t cmd) { DCAC_Error_t nRet; nRet = DCAC_ERROR_INVALID_COMMAND; if (cmd == DCAC_Start) { nRet = DCAC_ERROR_ON_SEND_COMMAND; if (DCAC_GetStatus() != DCAC_Running) { LocalDevice.State = DCAC_Running; // TIMx enable counter TIM_CtrlPWMOutputs(TIM8, ENABLE); nRet = DCAC_ERROR_NONE; } } else if (cmd == DCAC_Stop) { nRet = DCAC_ERROR_ON_SEND_COMMAND; |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |