aboutsummaryrefslogtreecommitdiff
path: root/embassy-mspm0/src
Commit message (Collapse)AuthorAgeFilesLines
* mspm0: add mspm0c1105/6i509VCB2025-08-282-5/+11
|
* msmp0-watchdog: reorder system initializationSiarhei B2025-08-281-14/+14
|
* mspm0-watchdog: remove template from watchdog structSiarhei B2025-08-281-16/+16
|
* mspm0-watchdog: rename mod watchdog to wwdtSiarhei B2025-08-282-3/+3
|
* mspm0-watchdog: add main implementationSiarhei B2025-08-272-0/+346
|
* mspm0: actually enable GPIOA interrupt for l110xi509VCB2025-08-141-1/+1
|
* Merge pull request #4435 from bespsm/mspm0-i2ci509VCB2025-08-142-0/+1209
|\ | | | | | | MSPM0: Add I2C Controller (blocking & async) + examples for mspm0l1306, mspm0g3507 (tested MCUs)
| * mspm0-I2C: fix calculate_timer_period function & testsSiarhei B2025-08-141-9/+9
| |
| * mspm0-I2C: remove type time:Herz usageSiarhei B2025-08-043-118/+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-042-7/+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-043-34/+137
| |
| * mspm0: Add I2C Controller (blocking & async)Siarhei B2025-08-042-0/+1161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | Merge pull request #4427 from clubby789/unsafe-opDario Nieuwenhuis2025-07-231-4/+6
|\ \ | | | | | | | | | HAL: Use `unsafe` block in IRQ handler
| * | Use `unsafe` block in IRQ handlersclubby7892025-07-201-4/+6
| |/
* / mspm0: add buffered uart driveri509VCB2025-07-222-41/+1164
|/ | | | And tests for G3507.
* Merge pull request #4338 from i509VCB/dmai509VCB2025-07-073-19/+740
|\ | | | | | | mspm0: add dma driver
| * mspm0: add dma driveri509VCB2025-07-063-19/+740
| |
* | mspm0: Fix inverted GPIO logicKelsey Maes2025-06-271-6/+6
|/
* mspm0: generate interrupt group handlersi509VCB2025-05-2013-515/+18
|
* mspm0: L110x has no group1i509VCB2025-05-201-2/+2
|
* mspm0: add gpio handlers to l122xi509VCB2025-05-201-2/+2
|
* mspm0: fix build for int groups.Dario Nieuwenhuis2025-05-197-1/+228
|
* mspm0: generate feature per chip + packagei509VCB2025-05-133-8/+64
|
* mspm0: add uart testsi509VCB2025-04-061-3/+29
| | | | This also fixes a bug in the uart clock calculation where it could select an oversampling faster than what the hardware is providing.
* Merge pull request #4022 from i509VCB/mspm0-uarti509VCB2025-04-034-0/+1169
|\ | | | | | | mspm0: blocking uart driver
| * mspm0: blocking uart driveri509VCB2025-03-294-0/+1169
| |
* | mspm0: Fix `set_pf_unchecked()` assertionKelsey Maes2025-04-021-2/+2
|/
* Remove Peripheral trait, rename PeripheralRef->Peri.Dario Nieuwenhuis2025-03-272-23/+17
|
* mspm0: disable events before clearing gpio risi509VCB2025-03-251-4/+21
|
* Merge pull request #3994 from i509VCB/mspm0-generate-singletonsDario Nieuwenhuis2025-03-242-0/+22
|\ | | | | | | mspm0: generate all singletons
| * mspm0: generate all singletonsi509VCB2025-03-222-0/+22
| |
* | mspm0: Remove features for which int_group is not implemented in metapac yeti509VCB2025-03-211-7/+0
|/ | | | These will be readded again when I eliminate int_group manual impls in the near future
* correct group 0 int_group accessesi509VCB2025-03-165-5/+5
|
* rustfmt...i509VCB2025-03-133-45/+16
|
* Embassy for MSPM0i509VCB2025-03-1310-0/+2160
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