| 전자부품 데이터시트 검색엔진 |
|
AN4640 데이터시트(PDF) 16 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4640 데이터시트(HTML) 16 Page - STMicroelectronics |
|
16 / 19 page ![]() The detail for related code is provided in Table 3. Table 3. Peripherals interconnect configuration detail Interconnect Code example Comments TIM8_TRGO selection sMasterConfig.MasterOutputTrigger=TIM_TRGO_UPDATE; sMasterConfig.MasterSlaveMode=TIM_MASTERSLAVEMODE_DISABLE; sMasterConfig.MasterOutputTrigger = TIM_TRGO_RESET; HAL_TIMEx_MasterConfigSynchronization(&htim8, &sMasterConfig); Configures the Master TIM to generate a triggering event (TIM_TRGO_UPDATE). ADC1 external trigger source hadc1.Init.ExternalTrigConvEdge=ADC_EXTERNALTRIGCONVEDGE_RISING; hadc1.Init.ExternalTrigConv = ADC_EXTERNALTRIGCONV_T8_TRGO; hadc1.Init.DMAContinuousRequests = ENABLE; hadc1.Init.EOCSelection = ENABLE; HAL_ADC_Init(&hadc1); The TIM8_TRGO event triggers conversion for the regular group with rising edge. Since converted regular channel values are stored into a unique data register, the DMA mode is enabled. DMA handle __HAL_LINKDMA(hadc, DMA_Handle, hdma_adc); Associates the initialized DMA handle to the ADC handle. |
|
|
링크 URL |
| 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 |