Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN4101 Datasheet(PDF) 17 Page - STMicroelectronics

Part # AN4101
Description  LIN communication with STM8A-DISCOVERY
PDF  21 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4101 Datasheet(HTML) 17 Page - STMicroelectronics

Back Button AN4101 Datasheet HTML 13Page - STMicroelectronics AN4101 Datasheet HTML 14Page - STMicroelectronics AN4101 Datasheet HTML 15Page - STMicroelectronics AN4101 Datasheet HTML 16Page - STMicroelectronics AN4101 Datasheet HTML 17Page - STMicroelectronics AN4101 Datasheet HTML 18Page - STMicroelectronics AN4101 Datasheet HTML 19Page - STMicroelectronics AN4101 Datasheet HTML 20Page - STMicroelectronics AN4101 Datasheet HTML 21Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 17 / 21 page
background image
AN4101
LIN demonstration software
Doc ID 23127 Rev 1
17/21
lcd
This module contains functions to drive the LCD display.
delay, icc_measure, lowpower
These modules are used for low-power modes. They are used by a hidden test mode, and
are not used in this demonstration software. Please refer to AN4102 for a description of
these modules.
stm8l15x_it
This module contains the following interrupt routines:
●
External interrupt of the pin1 routine, and update of the UserButton1 software flag,
when a falling edge is detected on the PE1 port
●
External interrupt of the pin2 routine, and update of the UserButton2 software flag,
when a falling edge is detected on the PE2 port
●
External interrupt of the pin6 routine, which is not activated in the demonstration
software (test mode only)
●
TIM4 interrupt routine, which sets timebase ticks for LIN, CAN (not used in the
demonstration software), application, and L99PM62GXP watchdog refresh
●
USART receive/error interrupt routine, which implements the algorithm described in
Section 6.2.2: LINUART interrupt
7.3.3
STM8L15x/16x standard peripheral library modules
The demonstration software is based on the STM8L15x/16x standard peripheral library
version 1.5.0, dated May 2011.
The following driver modules are used:
●
stm8l15x_flash.c, used for test mode only
●
stm8s_adc.c, used for test mode only
●
stm8l15x_exti.c, for the external interrupts on pin1 and 2 (USER1 and USER2
buttons)
●
stm8s_clk.c, for configuring clocks and enabling HSE
●
stm8s_gpio.c, for initializing, reading and updating all ports
●
stm8s_spi.c, for SPI communication with the L99PM62GXP device
●
stm8s_lcd.c, for SPI communication with the L99PM62GXP device
●
stm8s_tim4.c, for generating a 1 ms timebase
●
stm8s_usart.c, for initializing USART



Html Pages

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


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