| Electronic Components Datasheet Search |
|
AN4073 Datasheet(PDF) 29 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4073 Datasheet(HTML) 29 Page - STMicroelectronics |
|
29 / 32 page ![]() DocID022945 Rev 5 29/32 AN4073 Firmware sequence to activate Option 1 and Option 2 31 Appendix C Firmware sequence to activate Option 1 and Option 2 C.1 Option 1 /** * @brief Enables or disables the ADC Option_1 configuration. * @param NewState: new state of the ADCDC1 bit. * This parameter can be: ENABLE or DISABLE. * @retval None */ void SET_ADCOption1 (FunctionalState NewState) { /* ENABLE PWR clock */ RCC_APB1PeriphClockCmd(RCC_APB1Periph_PWR,ENABLE); if (NewState != DISABLE) { /* Set ADCDC1 bit */ PWR->CR |= ((uint32_t)PWR_CR_ADCDC1); } else { /* Reset ADCDC1 bit */ PWR->CR &= (uint32_t)(~PWR_CR_ADCDC1); } } |
|
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 |