summaryrefslogtreecommitdiff
path: root/bsp/efm32/drv_iic.c
AgeCommit message (Collapse)Author
2023-02-07rt_device_write/read return data type as rt_ssize_tMeco Man
rt_ssize_t can give negative error code, which follows the unix style correctly
2022-04-05替换RTThread旧版文件头注释版权声明 (#5774)Man, Jianting (Meco)
2012-06-18fixed compiling error, RT_Device_Class_I2C is not defined in rtdef.h[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2173 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-18*** EFM32 branch ***onelife.real
1. Upgrade Cortex driver library (CMSIS -> CMSIS & Device): version 2.3.2 -> 3.0.1 & 3.0.0 - Remove "bsp/efm32/Libraries/CMSIS/Lib/ARM", "bsp/efm32/Libraries/CMSIS/Lib/G++" and "bsp/efm32/Libraries/CMSIS/SVD" to save space 2. Upgrade EFM32 driver libraries (efm32lib -> emlib): version 2.3.2 -> 3.0.0 - Remove "bsp/efm32/Libraries/Device/EnergyMicro/EFM32LG" and "bsp/efm32/Libraries/Device/EnergyMicro/EFM32TG" to save space 3. Upgrade EFM32GG_DK3750 development kit driver library: version 1.2.2 -> 2.0.1 4. Upgrade EFM32_Gxxx_DK development kit driver library: version 1.7.3 -> 2.0.1 5. Add energy management unit driver and test code 6. Modify linker script and related code to compatible with new version of libraries 7. Change EFM32 branch version number to 1.0 8. Add photo frame demo application git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2122 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-20*** EFM32 branch ***onelife.real
1. Add keys and joystick driver 2. Add direct drive (frame buffer) method support in LCD driver git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1973 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-27*** EFM32 branch ***onelife.real
1. Upgrade EFM32 driver libraries (CMSIS and efm32lib): version 2.3.0 -> 2.3.2 2. Upgrade EFM32GG_DK3750 development kit driver library: version 1.2.1 -> 1.2.2 3. Upgrade EFM32_Gxxx_DK development kit driver library: version 1.7.2 -> 1.7.3 4. Add LCD driver (SSD2119) and DEMO 5. Change SPI write format 6. Modify SD card driver due to SPI write format changed 7. Modify building scripts git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1883 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-16*** EFM32 branch ***onelife.real
1. Upgrade EFM32 driver libraries (CMSIS and efm32lib) to version 2.3.0 (from version 2.2.2) 2. Add EFM32GG-DK3750 development kit support (driver version 1.2.1) 3. Add giant gecko (EFM32GG) support 4. Add LEUART module driver (max 9600bsp) git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1839 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-29*** EFM32 branch ***onelife.real
1. Move file, "start_gcc.S", from "libcpu/arm/cortex-m3/" to "bsp/efm32/" 2. Upgrade EFM32 driver libraries (CMSIS and efm32lib) to version 2.2.2 3. Upgrade EFM32 G2xx development kit drivers (EFM32_Gxxx_DK) to version 1.7.2 (from version 1.6.0) 4. Modify the files ("drv_usart.c" and "drv_iic.c") according to the driver libraries upgrading git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1818 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-23*** EFM32 branch ***onelife.real
1. Change the usage of the second parameter of Read and Write functions in IIC driver - to "Slave address" from (seldom used) "Offset" 2. Add a timer for IIC driver to prevent from forever waiting 3. Add digital (IIC) interface support for accelerometer driver (Freescale MMA7455L) git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1678 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-29*** EFM32 branch ***onelife.real
Modify IIC and USART drivers to avoid compiling error. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1655 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-29*** EFM32 branch ***onelife.real
1. Add interrupt context check function (context_gcc.S) 2. Add lock (semaphore) for IIC, USART and Ethernet drivers to prevent simultaneously access 3. Add multiple channels support for scan mode of ADC driver 4. Modify miscellaneous drivers according to ADC driver changes 5. Add SWO output enable function (board.c) 6. Disable all interrupts in GPIO interrupt handler (hdl_interrupt.c) 7. Add two Ethernet utility functions (drv_ethernet.c) 8. Add accelerometer driver (analog output) 9. Add accelerometer demo (draft, application.c) git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1654 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-20*** EFM32 branch ***onelife.real
1. Add SD card driver (SPI mode) 2. Add ELM ChaN FatFs support (Please read "Readme.txt") - Warning: FatFs is really FAT! (35KB) 3. Upgrade EFM32 libraries (CMSIS and efm32lib) to version 2.0.0 4. Merge all of the C source code in "libcpu\arm\cortex-m3\" into "cpuport.c" 5. Merge all of the assembly source code in "libcpu\arm\cortex-m3\" into "context_gcc.S" (except "start_gcc.S") git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1525 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-29*** EFM32 branch ***onelife.real
1. Add IIC slave mode RX by interrupt function (Now, master mode TX/RX and slave mode RX functions are done) 2. Add Timer1 configuration in timer driver 3. Modify the ACMP default initialization setting 4. Add on/off switch for debug code to reduce size git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1353 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-02-28*** EFM32 branch ***[email protected]
1. Update the copyright information - 2009 => 2011 2. Add external oscillator configuration routine in "rt_hw_board_init()" - Before, it is set by default frequency, 32MHz - Now it can be set by user specified frequency 3. Add ADC and ACMP (analog comparator) drivers 4. Clarify the MCU and target board define in "rtconfig.py" git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1296 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-02-17*** EFM32 branch ***onelife.real
- New branch for Energy Micro's MCUs (http://energymicro.com/). - Target board: FM32 Gecko Starter Kit (http://www.energymicro.com/tools) git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1274 bbd45198-f89e-11dd-88c7-29a3b14d5316