| Electronic Components Datasheet Search |
|
AN3413 Datasheet(PDF) 11 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3413 Datasheet(HTML) 11 Page - STMicroelectronics |
|
11 / 18 page ![]() DocID018933 Rev 2 11/18 AN3413 Software description 17 2.2 STM32L1x standard firmware library configuration The stm32l1xx_conf.h file of the STM32L1x standard firmware library allows you to configure the library by enabling the peripheral functions used by the application. The header files of library modules are included in the stm32l1xx_conf.h file as listed bellow. #include stm32l1xx_adc.h #include stm32l1xx_exti.h #include stm32l1xx_flash.h #include stm32l1xx_gpio.h #include stm32l1xx_syscfg.h #include stm32l1xx_lcd.h #include stm32l1xx_pwr.h #include stm32l1xx_rcc.h #include stm32l1xx_rtc.h #include "misc.h" The corresponding library modules has to be present in the project for successful compilation and linking. 2.3 Application software flow 2.3.1 Main application After powering up the STM32L1xx DISCOVERY, the initialization of the peripherals and LCD display is performed and then the application immediately checks whether the USER push- button is pressed. If pressed, then the application goes to the Bias current record operation. Otherwise, Demo mode (IDD measurement) is automatically selected. If during Demo mode, the user presses the USER key for more than 3 seconds, then the application enters manufacturing test. To exit manufacturing test, the application needs to be restarted by pressing the RESET button. 2.3.2 Demo mode (IDD measurement) When Demo mode is launched, it starts displaying a welcome message and then, after a few seconds, the VDD value. The user then selects one of the IDD measurement functions by pressing successively on the USER pushbutton (as described in Section 1.5.1). These functions are mainly divided in 2 steps: • Configuring the device according to the selected power mode • IDD measurement and display (this part is common for all power modes) The Demo mode sequence is as follows: |
|
|
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 |