analogdevicesinc / no-OS

Software drivers in C for systems without an operating system
http://analogdevicesinc.github.io/no-OS/
Other
924 stars 1.65k forks source link

drivers:adc: Add ad405x no-OS drivers #2184

Closed ribdp closed 4 months ago

ribdp commented 4 months ago

Pull Request Description

  1. Add support for sample, averaging and burst averaging modes
  2. Add support for spi read-write
  3. Add bitfield definitions and apis for modifying and accessing bitfields

PR Type

PR Checklist

ribdp commented 4 months ago

Changelog -

  1. Update copyright year in both files
  2. Add missing new line at the end of files
  3. Fix typo in function description in ad405x_set_config_mode
  4. Remove unused functions
  5. Add missing break statement in ad405x_set_averaging_filter_length
  6. Fix return logic in ad405x_read_val
  7. Add static const definition for reset patter bytes buffer
ribdp commented 4 months ago

Changelog -

  1. Rebased with main
  2. Added readme documentation commit
ribdp commented 4 months ago

please add also a commit for the documentation, here is an example f3c60c0

Added the documentation now

ribdp commented 4 months ago

Do the PR changes look okay now?