soft/lpc82x/core
2 years agoFix types in serial driver
Nathael Pajani [Sat, 13 May 2017 01:46:04 +0000 (03:46 +0200)]
Fix types in serial driver

2 years agoUse available info from register rather than shift and mask in gpio_read() Comments...
Nathael Pajani [Sat, 13 May 2017 01:45:35 +0000 (03:45 +0200)]
Use available info from register rather than shift and mask in gpio_read() Comments updates in gpio/pio code

2 years agoAPI compatibility fixes for watchdog configuration structure
Nathael Pajani [Sat, 13 May 2017 01:42:14 +0000 (03:42 +0200)]
API compatibility fixes for watchdog configuration structure

2 years agoUpdated Makefile: Use LDFLAGS instead of LINKOPTS Use $(DEBUG) var
Nathael Pajani [Tue, 27 Sep 2016 22:14:44 +0000 (00:14 +0200)]
Updated Makefile: Use LDFLAGS instead of LINKOPTS Use $(DEBUG) var

2 years agoFix compilation warning
Nathael Pajani [Tue, 27 Sep 2016 22:13:47 +0000 (00:13 +0200)]
Fix compilation warning

2 years agoChanges to timers API
Nathael Pajani [Tue, 27 Sep 2016 22:11:56 +0000 (00:11 +0200)]
Changes to timers API

2 years agoChanges to ADC API
Nathael Pajani [Tue, 27 Sep 2016 22:10:53 +0000 (00:10 +0200)]
Changes to ADC API

2 years agoReturn a more explicit error value
Nathael Pajani [Mon, 26 Sep 2016 16:11:51 +0000 (18:11 +0200)]
Return a more explicit error value

2 years agoUpdate/Use enums for ports definitions
Nathael Pajani [Mon, 26 Sep 2016 16:11:21 +0000 (18:11 +0200)]
Update/Use enums for ports definitions

2 years agoRe-organise code
Nathael Pajani [Mon, 26 Sep 2016 16:10:35 +0000 (18:10 +0200)]
Re-organise code

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

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

2 years 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")

2 years 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

2 years 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

2 years 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

2 years 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

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

2 years 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

2 years 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.

2 years 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

2 years 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

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

2 years 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

2 years 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.

2 years 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.

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

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

2 years 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

2 years 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

2 years 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

2 years 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.