Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN3413 Datasheet(PDF) 11 Page - STMicroelectronics

Part # AN3413
Description  STM32L1x current consumption measurement and touch sensing demonstration firmware
PDF  18 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3413 Datasheet(HTML) 11 Page - STMicroelectronics

Back Button AN3413 Datasheet HTML 7Page - STMicroelectronics AN3413 Datasheet HTML 8Page - STMicroelectronics AN3413 Datasheet HTML 9Page - STMicroelectronics AN3413 Datasheet HTML 10Page - STMicroelectronics AN3413 Datasheet HTML 11Page - STMicroelectronics AN3413 Datasheet HTML 12Page - STMicroelectronics AN3413 Datasheet HTML 13Page - STMicroelectronics AN3413 Datasheet HTML 14Page - STMicroelectronics AN3413 Datasheet HTML 15Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 11 / 18 page
background image
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:



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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