Back to Release page
# Release Notes for STM8L10x Standard Peripherals Library Utilities (Utilities) Copyright 2014 STMicroelectronics
## Contents STM8L10x Standard Peripherals Library Utilities update History License ## STM8L10x Standard Peripherals Library Utilities update History ### V1.2.1 / 30-September-2014 Main Changes Fix Typo in driver comments ### V1.2.0 / 01-June-2012 Main Changes Rename "STM8L1x-EVAL" folder to "STM8L101-EVAL" Add a new subfolder Common containing new and updated eval board drivers: stm8l_eval_i2c_ee.h/.c, stm8l_eval_spi_sd.h/.c and stm8l_eval_lcd.h/.c. Note : All theses common drivers names and API were modified versus the previous drivers available in version 1.1.0, no compatibility is guaranteed between the two versions Add new driver for the STM8L101-EVAL managing Leds, push button, COM ports and configuring the system level of the I2C EEPROM, SPI SD and LCD. Mono LCD driver updated as follow: - The LCD_SetTextMode() and LCD_SetGraphicMode() functions removed as the graphic mode is not supported - The following functions are removed and are replaced by "LCD _Print ()" function : - void LCD_ClearLine(uint8_t Line); - void LCD_PrintChar(uint8_t Ascii); - void LCD_PrintString(uint8_t Line, FunctionalState AutoComplete, FunctionalState Append, uint8_t *ptr); - void LCD_PrintMsg(uint8_t *ptr); - void LCD_PrintDec1(uint8_t Number); - void LCD_PrintDec2(uint8_t Number); - void LCD_PrintDec3(uint16_t Number); - void LCD_PrintDec4(uint16_t Number); - void LCD_PrintHex1(uint8_t Number); - void LCD_PrintHex2(uint8_t Number); - void LCD_PrintHex3(uint16_t Number); - void LCD_PrintBin2(uint8_t Number); - void LCD_PrintBin4(uint8_t Number); - void LCD_SendBuffer(uint8_t *pTxBuffer, uint8_t NumByte) ; - The LCD_DisplayCGRAM0() and LCD_DisplayCGRAM1() functions are declared as static as they are used only by the LCD_DisplayLogo() function SPI Micro SD driver updated as follow: - microsd.c/.h files renamed to stm8l_eval_spi_sd.c/.h files - SD_DeInit() function added - MSD_Init() function renamed to SD_Init() function - MSD_Detect function renamed to SD_Detect - New function SD_GetCardInfo() added - MSD_ReadBlock() function renamed to SD_ReadBlock() - MSD_ReadBuffer() function renamed to SD_ReadBuffer() - MSD_WriteBlock() function renamed to SD_WriteBlock - MSD_WriteBuffer() function renamed to SD_WriteBuffer - New function SD_GetCSDRegister() added - New function SD_GetCIDRegister() added - MSD_SendCmd() function renamed to SD_SendCmd() - MSD_GetDataResponse() function renamed to SD_GetDataResponse() - MSD_GetResponse() function renamed to SD_GetResponse() - New function SD_GetStatus() added - MSD_GoIdleState() function renamed to SD_GoIdleState() - MSD_WriteByte() function renamed to SD_WriteByte() - MSD_ReadByte() function renamed to SD_ReadByte() - MSD_ChipSelect() function removed and replaced by two macros: SD_CS_LOW and SD_CS_HIGH - MICROSD_PRESENT macro renamed to SD_PRESENT - MICROSD_NOT_PRESENT macro renamed to SD_NOT_PRESENT - MSD prefix replaced by SD in all defines I2C EEPROM driver updated as follow: - i2c_ee.c/.h files renamed to stm8l_eval_i2c_ee.c/.h files - I2C_EE_BufferRead() function renamed to sEE_ReadBuffer() and updated to implement the safe procedure for I2C master receive mode - sEE_WaitEepromStandbyState() function added - I2C_EE_PageWrite() function renamed to sEE_WritePage() and updated to poll on BTF Flag - sEE_WriteBuffer() function added - I2C_EEInit() function renamed to sEE_Init() - sEE_DeInit() function added - I2C_EE_ByteWrite() function removed ## License Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"). You may not use this file except in compliance with the License. You may obtain a copy of the License at: http://www.st.com/software_license_agreement_liberty_v2 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. For complete documentation on STMicroelectronics Microcontrollers visit www.st.com