| Electronic Components Datasheet Search |
|
AN4101 Datasheet(PDF) 17 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4101 Datasheet(HTML) 17 Page - STMicroelectronics |
|
17 / 21 page ![]() 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 |
|
|
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 |