commit | 7c2db61b792479ae7989a45ee60566a9174884f5 | [log] [tgz] |
---|---|---|
author | Austin Foxley <afoxley@google.com> | Tue Jul 25 16:47:24 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jul 25 16:47:24 2023 +0000 |
tree | 48606f84c210120aa602da7a1788be7dda02b0ab | |
parent | 5fd8cf288fa857d2ac74b768a6961e21c8501d71 [diff] |
pw_i2c_mcuxpresso: Allow for static initialization of initiator Since the clock frequency param can't be determined at static init time, add an Enable call and enforce it should be called before transfer. Put all needed config in Config structure passed on init. Change-Id: Ib80e1866890d2e616f808235686e1249f686478b Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/155790 Pigweed-Auto-Submit: Austin Foxley <afoxley@google.com> Reviewed-by: Keir Mierle <keir@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com> Reviewed-by: Ted Pudlik <tpudlik@google.com> Reviewed-by: Jonathon Reinhart <jrreinhart@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.