| Zakładka z wyszukiwarką danych komponentów |
|
UM1561 Arkusz danych(PDF) 14 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM1561 Arkusz danych(HTML) 14 Page - STMicroelectronics |
|
14 / 39 page ![]() STM32F1xx - internal peripherals for DC-AC section UM1561 14/39 Doc ID 023556 Rev 1 if (DCAC_GetStatus() != DCAC_Stopped) { LocalDevice.State = DCAC_Stopped; TIM_CtrlPWMOutputs(TIM8, DISABLE); // TIMx disable counter nRet = DCAC_ERROR_NONE; } } return nRet; } where: ● TIM_CtrlPWMOutputs(TIM8, ENABLE); is (Enables TIM8 timer for DCAC section and starts DataSensing acquisitions) ● TIM_CtrlPWMOutputs(TIM8, DISABLE); is (Stops TIM8 timer and stops DataSensing acquisitions). DCAC_SetPulse(…): This function sets the PWM pulse value produced by the calculations of the closed loop control. It is called by the microcontroller each control cycle after board startup. DCAC_Error_t DCAC_SetPulse(u32 PulseChannel1, u32 PulseChannel2) { DCAC_Error_t nRet; TIM_SetCompare2(TIM8, PulseChannel1); nRet = DCAC_ERROR_NONE; return nRet; } where: ● TIM_SetCompare2(TIM8, PulseChannel1); is (Set the pulse value of the TIM8 in the capture compare register). |
|
Link URL |
| Czy Alldatasheet okazała się pomocna? [ DONATE ] |
O Alldatasheet | Reklama | Kontakt | Polityka prywatności | Link do karty katalogowej | Linki | Lista producentów 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 |