aboutsummaryrefslogtreecommitdiffstats
path: root/src/atsamd/i2c.c
Commit message (Collapse)AuthorAgeFilesLines
* atsamd: allow i2c rate to be 400kHzWulfsta2024-11-121-4/+10
| | | | Signed-off-by: Luke Vuksta <wulfstawulfsta@gmail.com>
* i2c: handle errors at i2ccmdsTimofey Titovets2024-10-261-2/+7
| | | | Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
* samd21: fix erroneous register bit reference.Matt Baker2022-09-111-2/+0
| | | | Signed-off-by: Matt Baker <baker.matt.j@gmail.com>
* atsamd: Add i2c_read() implementationSimon Kühling2021-10-061-1/+43
| | | | Signed-off-by: Simon Kühling <mail@simonkuehling.de>
* atsamd: Use enumerations for buses and reserve pinsKevin O'Connor2019-04-041-6/+0
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsamd: Reduce memory for have_run_init in spi/i2cKevin O'Connor2019-03-011-3/+3
| | | | | | | Some of the samd21 chips have limited memory - change the code to reduce the size of global variables. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsamd: Add support for programming SERCOM pinsKevin O'Connor2019-03-011-17/+17
| | | | | Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsamd: Initial support for SAMD51Kevin O'Connor2019-01-281-4/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsamd: Add a get_pclock_frequency() helper functionKevin O'Connor2019-01-281-3/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsamd: Pass the power management id to enable_pclock()Kevin O'Connor2019-01-281-1/+1
| | | | | | | Pass the power management id instead of the APBCMASK bit to the enable_pclock() function. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* src: Rename source folders for atsam and atsamd architecturesFlorian Heilmann2019-01-121-0/+114
Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>