soft/lpc82x/core
22 months agoRe-organise code
Nathael Pajani [Mon, 26 Sep 2016 16:10:35 +0000 (18:10 +0200)]
Re-organise code

22 months agoupdated comments
Nathael Pajani [Mon, 26 Sep 2016 16:10:11 +0000 (18:10 +0200)]
updated comments

22 months agoRemove duplicated comments
Nathael Pajani [Mon, 26 Sep 2016 16:08:28 +0000 (18:08 +0200)]
Remove duplicated comments

22 months agoUse "" instead of <> for includes, for consistency. Also remove unuseful includes...
Nathael Pajani [Mon, 26 Sep 2016 16:05:09 +0000 (18:05 +0200)]
Use "" instead of <> for includes, for consistency. Also remove unuseful includes (already in "core/system.h")

22 months agoAdding bits_set() to header file
Nathael Pajani [Mon, 26 Sep 2016 16:01:56 +0000 (18:01 +0200)]
Adding bits_set() to header file

22 months agoADC driver fixes and (small) improvements
Nathael Pajani [Mon, 26 Sep 2016 15:59:17 +0000 (17:59 +0200)]
ADC driver fixes and (small) improvements

22 months agoAdd VCNL4040 I2C Light / Distance sensor support
Nathael Pajani [Thu, 15 Sep 2016 13:47:00 +0000 (15:47 +0200)]
Add VCNL4040 I2C Light / Distance sensor support

22 months agoUpdate comments and add include guards
Nathael Pajani [Thu, 15 Sep 2016 13:46:26 +0000 (15:46 +0200)]
Update comments and add include guards

22 months agosmall cosmetic fixes
Nathael Pajani [Thu, 15 Sep 2016 03:14:32 +0000 (05:14 +0200)]
small cosmetic fixes

22 months agoAdd support for BME280 I2C Barometric, humidity and temperature sensor
Nathael Pajani [Thu, 15 Sep 2016 03:13:50 +0000 (05:13 +0200)]
Add support for BME280 I2C Barometric, humidity and temperature sensor

22 months agoAdd some delay between consecutive access to the sensors to prevent I2C busy conditions.
Nathael Pajani [Tue, 13 Sep 2016 23:24:05 +0000 (01:24 +0200)]
Add some delay between consecutive access to the sensors to prevent I2C busy conditions.

22 months agoFix enable / disable values for UV sensor
Nathael Pajani [Tue, 13 Sep 2016 23:22:25 +0000 (01:22 +0200)]
Fix enable / disable values for UV sensor

22 months agoSet sensor as not present upon I2C communication errors
Nathael Pajani [Tue, 13 Sep 2016 23:22:00 +0000 (01:22 +0200)]
Set sensor as not present upon I2C communication errors

22 months agoVEML6070 I2C UV sensor driver
Nathael Pajani [Tue, 13 Sep 2016 16:31:31 +0000 (18:31 +0200)]
VEML6070 I2C UV sensor driver

22 months agoTSL256x I2C luminosity and IR sensor driver
Nathael Pajani [Tue, 13 Sep 2016 16:30:57 +0000 (18:30 +0200)]
TSL256x I2C luminosity and IR sensor driver

22 months agoAdd a small delay between two consecutive access to the same sensor.
Nathael Pajani [Tue, 13 Sep 2016 16:24:44 +0000 (18:24 +0200)]
Add a small delay between two consecutive access to the same sensor.

22 months agoI2C driver fixes Move the release_bus part to a specific function as it blocks some...
Nathael Pajani [Tue, 13 Sep 2016 16:23:54 +0000 (18:23 +0200)]
I2C driver fixes Move the release_bus part to a specific function as it blocks some devices and most will work without it.

22 months agoAdd gpio_read() helper
Nathael Pajani [Mon, 5 Sep 2016 10:03:49 +0000 (12:03 +0200)]
Add gpio_read() helper

22 months agoMove enum to header file.
Nathael Pajani [Mon, 5 Sep 2016 10:03:10 +0000 (12:03 +0200)]
Move enum to header file.

22 months agoFix comments and use uprintf instead of serial_write
Nathael Pajani [Mon, 8 Aug 2016 20:20:18 +0000 (22:20 +0200)]
Fix comments and use uprintf instead of serial_write

22 months agoAdding comments to the pwm config structure and function Fixes to timer_on() function...
Nathael Pajani [Sat, 18 Jun 2016 11:59:15 +0000 (13:59 +0200)]
Adding comments to the pwm config structure and function Fixes to timer_on() function comments

22 months agoAdding partial support for State Configurable Timers (SCT) Use as one 32 bits counter...
Nathael Pajani [Sat, 18 Jun 2016 11:13:02 +0000 (13:13 +0200)]
Adding partial support for State Configurable Timers (SCT) Use as one 32 bits counter for PWM implemented and tested

22 months agoInitial commit Most of the code received basic testing. Most of the code comes from...
Nathael Pajani [Wed, 15 Jun 2016 16:41:56 +0000 (18:41 +0200)]
Initial commit Most of the code received basic testing. Most of the code comes from the LPC1224 support code.