aboutsummaryrefslogtreecommitdiff
path: root/embassy-mspm0/src
Commit message (Collapse)AuthorAgeFilesLines
* Update to embedded-io 0.7Dario Nieuwenhuis2025-12-191-0/+4
|
* mspm0: add MSPM0G518x support and new packages for othersi509VCB2025-12-145-10/+24
| | | | | | 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).
* mspm0-mathacl: exclude the module for non-supported chipsSiarhei B2025-11-211-0/+1
|
* mspm0-mathacl: add non-generic phantomdataSiarhei B2025-11-211-6/+4
|
* mspm0-mathacl: another round of formatSiarhei B2025-11-161-0/+1
|
* mspm0-mathacl: add phantomdata for moduleSiarhei B2025-11-161-5/+11
|
* mspm0-mathacl: switch to radians as input param for sincos operationsSiarhei B2025-11-161-9/+13
|
* mspm0: apply formatting for new Mathacl & exampleSiarhei B2025-11-161-4/+6
|
* mspm0: add MATHACL module and following operations: sin,cosSiarhei B2025-11-162-0/+245
|
* mspm0: read_reset_cause()Gordon Tyler2025-11-071-0/+111
| | | | | | This adds a read_reset_cause function that returns an enum value derived from the SYSCTL.RSTCAUSE register. Based on the work by @charlesbmi in #4732.
* 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-102-18/+84
|
* mspm0-i2c-target: fix spelling mistakes and revert From<ClockDiv> implementationIooon2025-10-102-17/+15
|
* mspm0-i2c-target: add i2c target with examplecrispaudio2025-10-103-15/+466
|
* mspm0: add mspm0h321x supporti509VCB2025-10-082-8/+13
| | | | | | 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
* Merge pull request #4735 from charlesbmi/mspm0-open-draini509VCB2025-10-071-1/+6
|\ | | | | | | [mspm0] fix open-drain config
| * Enable input-buffer and enable output drive for I/O pinCharles Guan2025-10-071-1/+6
| |
* | Rustfmt for edition 2024.Dario Nieuwenhuis2025-10-069-24/+21
| |
* | Edition 2024.Dario Nieuwenhuis2025-10-062-4/+5
|/
* mspm0-adc: implement From for AnyAdcChannelcrispaudio2025-09-141-35/+29
|
* mspm0-adc: remove dynamic vrsel and cleanupcrispaudio2025-09-091-10/+43
|
* mspm0-adc: fix rustfmt importscrispaudio2025-09-081-5/+5
|
* mspm0-adc: add adc with examplescrispaudio2025-09-082-0/+484
|
* 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