summaryrefslogtreecommitdiffstats
path: root/bsps/arm/atsam/i2c/atsam_i2c_bus.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update company nameSebastian Huber2023-05-201-1/+1
| | | | | The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
* bsps/arm/atsamv: Change license to BSD-2Joel Sherrill2022-07-081-3/+22
| | | | Updates #3053.
* bsps/arm/: Scripted embedded brains header file clean upJoel Sherrill2022-03-101-6/+0
| | | | Updates #4625.
* bsp/atsam/i2c: Add error return and fix edge casesChristian Mauderer2022-02-101-50/+44
| | | | | | | | | | The driver didn't return with an error on (for example) a NACK on the bus. This adds the expected error return. Due to the new case that a transfer can be interrupted on an error, there were some new edge cases. This patch therefore also fixes these edge cases by removing the transfer_state that more or less duplicated the interrupt states. Fixes #4592
* bsp/atsam/i2c: Simplify driverChristian Mauderer2022-02-101-55/+37
| | | | | | | | | | Do some clean ups. Remove superfluous variables. Eliminate some overly complex logic (information about transfer and remaining bytes has been tracked redundantly in multiple variables). This patch doesn't change the behavior of the driver. Update #4592
* bsp/atsam: Use binary semaphore for I2CSebastian Huber2018-10-011-21/+18
| | | | | | | Remove superfluous sleep before each I2C transfer. Reset I2C module after transfer timeouts. Update #3534.
* bsps: Move I2C drivers to bspsSebastian Huber2018-04-231-0/+398
This patch is a part of the BSP source reorganization. Update #3285.