fabian18
2c001f5a6c
drivers/include/periph/eeprom: Changed uint8_t* to void* in API
2019-08-09 17:27:32 +02:00
cf2228e23e
drivers/periph_wdt: cleanup normal mode inline example
...
Remove a useless blankline
2019-08-05 21:48:10 +02:00
bd1eb6e285
drivers/periph_wdt: fix inline callback example
...
Function was renamed to wdt_setup_reboot_with_callback
2019-08-05 21:47:25 +02:00
e42307188c
drivers/spi: extend API with updatable gpio mode on pins
2019-08-05 16:46:41 +02:00
f8128844b7
Merge pull request #11527 from fjmolinas/pr_wdg_hdr
...
drivers/include: add header definition for wdt
2019-07-16 14:25:40 +02:00
fjmolinas
541f9ddd20
drivers/include: add header definition for wdt
2019-07-16 13:53:28 +02:00
20b94e9c56
usbdev: fix usbopt argument for getter/setter wrappers
2019-06-05 12:06:10 +02:00
Federico Pellegrin
1779abafb5
periph/i2c: make sure i2c registers is big-endian on all archs
2019-05-29 05:15:23 +02:00
Philipp Blum
9f2ef5e367
drivers/periph_common/gpio_util: introduce gpio_util_shiftin()
2019-04-18 07:09:32 +02:00
Vincent Dupont
74ddf56171
tests/conn_can: build stm32 CAN drivers
...
Build can_stm32 module on boards which have a stm32 CAN controller.
2019-04-03 11:12:46 +02:00
Vincent Dupont
ae95137f95
can stm32: add a driver for STM32 bxCAN peripheral
...
This driver is compliant with the candev interface. It has been tested
with STM32F0 and STM32F2 and STM32F413 ONLY at this time but should be
compliant with other STM32Fx devices
2019-03-29 12:03:43 +01:00
Dylan Laduranty
ccf12c57a8
Merge pull request #10884 from fedepell/sam_rwee_support
...
sam0 flashpage RWWEE flash support
2019-03-28 11:00:25 +01:00
c697a3bfd8
usbdev: extend events with suspend/resume
2019-03-25 21:03:21 +01:00
Federico Pellegrin
5faafac092
sam0 flashpage RWWEE flash support
2019-03-21 04:27:41 +01:00
4d352fc93f
usbdev: Extend with low level initialization functions
2019-03-20 09:12:24 +01:00
9af6c69a93
usbdev: Introduce a common API for USB peripherals
...
This commit adds usbdev, a common API to interface USB peripheral
devices. The API is split into two parts, one for the USB device itself
and one for the USB endpoint.
2019-03-14 21:44:56 +01:00
Yegor Yefremov
b8ff48cce4
periph/uart: improve documentation
...
Change description to reflect the configurability of the serial
interface.
Also, fix the uart_mode parameter description as the UART will be
configured and not initialized.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-02-11 09:35:23 +01:00
Yegor Yefremov
ddf19783d7
periph/uart: add support for enhanced serial settings
...
As suggested in PR#5899 add a routine uart_mode() that will
setup data bits, stop bits and parity at runtime.
uart.h provides a set of enums defining these settings and each
platform will override them to specify values corresponding to
its configuration registers.
The idea behind the enums is to specify default settings i.e. 8N1
through the 0 value item. Invoking uart_mode(uart, 0, 0, 0) will
setup 8N1 mode.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-01-31 14:15:11 +01:00
MrKevinWeiss
0ad94e1b4b
drivers/include/i2c: Fix API documentation
...
The write_reg/s states a repeated start write is used but that is not how the i2c is implemeneted.
Most devices also only use a continuous write so the API should be changed to match implementation and the majority of sensors.
2018-12-10 09:56:40 +01:00
Hauke Petersen
39f0e4d5d3
periph/uart: fix line length in doc header
2018-12-06 10:08:56 +01:00
1008ab4fdf
drivers/periph_eeprom: add eeprom_set function
2018-12-04 11:24:57 +01:00
50f19d1d1f
drivers/periph_eeprom: add clear and erase functions
2018-12-04 11:24:57 +01:00
Joakim Nohlgård
a867aeaba2
periph/i2c: Add precondition on i2c_acquire for i2c bus access
2018-11-28 08:43:01 +01:00
e9a6ebc409
cpu: drivers/eeprom: refactor periph_eeprom implementation
2018-10-16 10:39:10 +02:00
Martine Lenders
0598d5bcf1
periph_gpio: comment IRQ #endif correctly
2018-10-09 15:11:45 +02:00
Martine Lenders
a95957e513
Merge pull request #9992 from haukepetersen/fix_periph_gpiofeaturesscope
...
periph/gpio: fix scope of GPIO_IRQ submodule
2018-10-09 15:10:39 +02:00
Hauke Petersen
bd66184eb2
periph/gpio: re-add irq functions to doxygen
2018-09-21 08:31:09 +02:00
Hauke Petersen
abc11c8e23
periph/gpio: fix scope of GPIO_IRQ submodule
...
Move the gpio_irq_enable() and gpio_irq_disable() functions
into the scope of the PERIPH_GPIO_IRQ submodule.
2018-09-21 08:30:29 +02:00
smlng
a9e848f648
periph/rtt: add missing std header
...
The periph/rtt.h uses `uintX_t` typedefs but misses the required
standard header file, namely `stdint.h`, which is added here.
2018-09-07 14:54:23 +02:00
Joakim Nohlgård
ace717ee27
drivers: Add dep on periph_gpio_irq in drivers using GPIO IRQ
2018-08-29 08:53:20 +02:00
Francisco Acosta
71d3c14354
drivers/periph_common/eeprom: remove the now unnecessary cpu.h include
2018-08-15 15:27:03 +02:00
smlng
2db2ce2dc7
doc: rename sections in i2c.h
2018-07-25 12:01:40 +02:00
dylad
ef8ed2620c
periph_common/i2c: introduce new ret codes scheme
2018-07-25 12:01:34 +02:00
Joakim Nohlgård
872251d011
periph/i2c: Add 10 bit addressing magic number definition
2018-07-25 12:01:34 +02:00
Joakim Nohlgård
f2a2427fcd
periph/i2c: Editorial changes to i2c.h
2018-07-25 12:01:34 +02:00
01509b294f
drivers/periph_i2c: i2c_init should return void
2018-07-25 12:01:34 +02:00
Joakim Nohlgård
1dfc5f8f52
periph/i2c: Editorial doc changes
2018-07-25 12:01:34 +02:00
6f25886d77
drivers/periph/i2c: fixes issues in API
...
- non matching doxygen input parameter to i2c_write_reg
- non/matching missing function parameter
- invalid return type to i2c_release
2018-07-25 12:01:34 +02:00
dylad
e11a37df03
drivers/i2c: modify I2C API
...
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-07-25 12:01:34 +02:00
Hauke Petersen
45ab3ea89d
drivers/periph: introduced new I2C interface
2018-07-25 12:01:34 +02:00
Vincent Dupont
071614bf04
Merge pull request #8543 from OTAkeys/pr/rtt_clean_up
...
periph_rtt: remove RTT_NUMOF guard and init from periph_common
2018-07-10 15:00:53 +02:00
9fa58af73b
drivers/periph: add API for internal MCU EEPROM
2018-05-24 14:07:55 +02:00
Vincent Dupont
1f409d09dd
drivers/flashpage: use const ptrs for write/verify
2018-03-13 21:51:37 +01:00
Yannick Gicquel
34f2b3e6f9
drivers/qdec: doxygen rendering fixes
...
Signed-off-by: Yannick Gicquel <ygicquel@gmail.com>
2018-03-01 20:53:34 +01:00
Gilles DOFFE
58b7ed3fa9
drivers: add periph_qdec
...
QDEC interface enables access to CPU peripherals acquiring quadrature
signals.
Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2018-02-23 21:40:15 +01:00
Vincent Dupont
6840c15db0
periph/rtt: remove RTT_NUMOF guard from header
2018-02-09 15:51:06 +01:00
kYc0o
6dffb71b09
drivers/include/periph/flashpage.h: add flashpage_write_raw
2017-11-30 17:25:35 +01:00
Bas Stottelaar
31c7e9e4c2
periph: i2c: include note on address alignment.
2017-10-31 20:50:42 +01:00
Hauke Petersen
5920d99752
pm: fix weak-based default implementations
...
Instead of using `weak` function definitions, this PR handles
default implementations using `PROVIDES_x` defines, allowing
for cpus/pm realted modules to use their own implementations.
2017-10-16 14:27:35 +02:00
94c753c07a
drivers: doxygen cleanup
2017-09-01 15:12:20 +02:00