| 数据搜索系统,热门电子元器件搜索 |
|
AN3139 数据表(PDF) 13 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3139 数据表(HTML) 13 Page - STMicroelectronics |
|
13 / 63 page ![]() AN3139 STM8L family compatibility Doc ID 16993 Rev 3 13/63 Figure 2. STM8L10x code example Figure 3. STM8L15x code example All parameters are identical, and the procedure is similar with two function calls for both con- figuration and startup. The main difference is the additional peripherals of the same type that are added in the STM8L15x sub-family: ● when migrating from STM8L10x sub-family to STM8L15x sub-family, the additional peripheral must be added in every firmware library function as the first parameter (refer to Figure 3) ● when migrating from STM8L15x sub-family to STM8L10x sub-family, the additional peripheral given as the first parameter in every firmware library function must be removed (refer to Figure 2) Another difference in the SPI peripheral is the CRC capability which is supported only in the STM8L15x devices. In the above example (Figure 3.), the CRC polynomial “0x07” is explic- itly defined. This CRC polynomial parameter must be removed from the “init” function in the case of a migration from the STM8L15x sub-family to the STM8L10x sub-family. The following table shows an overview of the firmware library compatibility between the two sub-families STM8L10x and STM8L15x/STM8L16x and between the different peripherals of the STM8L15x/STM8L16x sub-family. It describes the differences in terms of: 1. New features like the IrDA, Smartcard, Halfduplex and DAC dual channel features 2. Common features but with different implementations, like the comparator and CLK initialization. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |