| Electronic Components Datasheet Search |
|
AN4073 Datasheet(PDF) 30 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4073 Datasheet(HTML) 30 Page - STMicroelectronics |
|
30 / 32 page ![]() Firmware sequence to activate Option 1 and Option 2 AN4073 30/32 DocID022945 Rev 5 C.2 Option 2 /** * @brief Enables or disables the ADCx Option_2 configuration. * @param ADCxDC2: The ADCxDC2 bit to be used. * This parameter can be one of the following values: * @arg SYSCFG_PMC_ADCxDC2: All ADCxDC2 bits * @arg SYSCFG_PMC_ADC1DC2: ADC1DC2 bit * @arg SYSCFG_PMC_ADC2DC2: ADC2DC2 bit * @arg SYSCFG_PMC_ADC3DC2: ADC3DC2 bit * @param NewState: new state of the ADCxDC2 bit. * This parameter can be: ENABLE or DISABLE. * @retval None */ void SET_ADCOption2 (uint32_t ADCxDC2, FunctionalState NewState) { /* Enable the SYSCFG clock*/ RCC_APB2PeriphClockCmd(RCC_APB2Periph_SYSCFG,ENABLE); if (NewState != DISABLE) { /* Set the ADCxDC2 */ SYSCFG->PMC |= (uint32_t)ADCxDC2; } else { /* Reset the ADCxDC2 */ SYSCFG->PMC &=(uint32_t)(~ADCxDC2); } } |
|
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 |