aboutsummaryrefslogtreecommitdiff
path: root/embassy-mspm0/src/i2c.rs
Commit message (Collapse)AuthorAgeFilesLines
* mspm0-i2c-target: make calculate_clock_source pub(crate) for mspm0ccrispaudio2025-10-101-1/+1
|
* mspm0-i2c-target: split i2c controller and i2c target configsIooon2025-10-101-8/+0
|
* mspm0-i2c-target: fix spelling mistakes and revert From<ClockDiv> implementationIooon2025-10-101-15/+13
|
* mspm0-i2c-target: add i2c target with examplecrispaudio2025-10-101-15/+30
|
* mspm0: add mspm0h321x supporti509VCB2025-10-081-2/+2
| | | | | | This also changes selection of GPIO interrupt type to be calculated by the buildscript. H321x is yet another exception with GPIOB being a physical interrupt rather than part of an interrupt group. H3215/6 are true 5V parts. I wonder if that is a first for an embassy hal
* Rustfmt for edition 2024.Dario Nieuwenhuis2025-10-061-2/+2
|
* mspm0: add mspm0c1105/6i509VCB2025-08-281-1/+1
|
* mspm0-I2C: fix calculate_timer_period function & testsSiarhei B2025-08-141-9/+9
|
* mspm0-I2C: remove type time:Herz usageSiarhei B2025-08-041-15/+14
|
* mspm0-I2C: forward fifo size to i2c controllerSiarhei B2025-08-041-16/+29
|
* mspm0-I2C: remove SYSOSC init, make ClockDiv::Into privateSiarhei B2025-08-041-3/+1
|
* mspm0-I2C: automate source clock definitionSiarhei B2025-08-041-39/+81
| | | | | | | - i2c-config: automatically defines clock source based on input I2C rate - i2c: proper config functions naming - i2c-examples: adapt to changed API - i2c: save initialization pf cctr register
* mspm0-I2C: add type for I2C clock rates + fixed commentsSiarhei B2025-08-041-34/+34
|
* mspm0: Add I2C Controller (blocking & async)Siarhei B2025-08-041-0/+1156
- lib: add i2c mod to lib - lib: add `bind_interrupts` mod for async workflow - lib: set SYSOSCBASE as system oscillator - config: add I2C SDA,SCA pin traits code generation - config: add clock source for the I2C - config: add clock divider for the I2C - config: add I2C BusSpeed configuration - I2C: add blocking API: blocking_read, blocking_write, blocking_write_read - I2C: add async API: async_write, async_read, async_write_read - I2C: add embedded-hal (v0.2) API for blocking & async impl. - I2C: add embedded-hal (v1.0) API for blocking & async impl. - I2C-tests: checks for timer_period & check_clock_rate fn's