| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
G518x is the first MSPM0 part with a USB, I2S and NPU peripheral. There is also a new TIMB peripheral (no PWM, so it is perfect for a time driver).
Unfortunately it also introduces UNICOMM which is a shared peripheral which can be in UART/I2C/SPI modes. This means that the current UART and I2C drivers need some adjustment to work with the new UNICOMM parts (which is the future).
|
| | |
|
| | |
|
| |
|
| |
Co-authored-by: i509VCB <[email protected]>
|
| |
|
|
| |
In the case of spurious interrupts, the interrupt group's STAT register may be set to NO_INTR, which must be checked before attempting to calculate the interrupt index from the STAT value.
|
| |
|
|
|
|
| |
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
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
these are now gone from metapac
|
| | |
|
| | |
|
|
|
This adds an embassy hal for the Texas Instruments MSPM0 microcontroller series.
So far the GPIO and time drivers have been implemented. I have tested these drivers on the following parts:
- C1104
- L1306
- L2228
- G3507
- G3519
The PAC is generated at https://github.com/mspm0-rs
|