aboutsummaryrefslogtreecommitdiff
path: root/examples/mcxa/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #5107 from jamesmunns/james/spllJames Munns2025-12-181-3/+23
|\ | | | | | | [MCXA]: Add SPLL/PLL1 support
| * Cleanups, docsJames Munns2025-12-181-1/+2
| |
| * First basic test worksJames Munns2025-12-181-3/+22
| |
* | [MCXA] reset_reason: process multiple bitsFelipe Balbi2025-12-181-1/+3
|/ | | | | | | | | After testing with the pending watchdog driver, I noticed that more than one bit got set (Warm and Wdog0), changing my original assumption of this register being one-hot. Update the `reset_reason()` function and example according to James Munns' MCXA DMA Error implementation.
* Merge pull request #5071 from jamesmunns/james/bad-soscJames Munns2025-12-181-40/+44
|\ | | | | | | [MCXA]: Add support for SOSC/clk_in
| * Update example to not explicitly configure rangeJames Munns2025-12-151-2/+1
| |
| * Add SOSC supportJames Munns2025-12-151-40/+45
| |
* | Replace AsyncTrng with Mode typestateFelipe Balbi2025-12-111-6/+6
| |
* | Merge remote-tracking branch 'upstream/main' into mcxa/trngFelipe Balbi2025-12-116-86/+74
|\|
| * Merge pull request #5037 from jamesmunns/james/retouch-adcJames Munns2025-12-112-24/+22
| |\ | | | | | | | | | [MCXA]: Refactor the ADC API
| | * Refactor the APIJames Munns2025-12-112-24/+22
| | |
| * | Merge pull request #5040 from jamesmunns/james/cleanup-reexportsJames Munns2025-12-112-4/+2
| |\ \ | | | | | | | | | | | | [MCXA]: Remove some unusual top level re-exports
| | * | Remove some unusual top level re-exportsJames Munns2025-12-112-4/+2
| | |/
| * / MCXA: Add a function to read Reset ReasonFelipe Balbi2025-12-101-0/+15
| |/
| * run rustfmtMathis Deroo2025-12-092-8/+7
| | | | | | | | Signed-off-by: Mathis Deroo <[email protected]>
| * set_conv_command_config returns Result instead of panic if index > 7Mathis Deroo2025-12-092-2/+2
| | | | | | | | Signed-off-by: Mathis Deroo <[email protected]>
| * Add Mode trait for Async and Blocking behaviorMathis Deroo2025-12-092-9/+13
| | | | | | | | Signed-off-by: Mathis Deroo <[email protected]>
| * Use Result enum for ConvResult structure and read functionMathis Deroo2025-12-091-2/+8
| | | | | | | | Signed-off-by: Mathis Deroo <[email protected]>
| * Modify ConvCommandConfig structMathis Deroo2025-12-092-4/+4
| | | | | | | | Signed-off-by: Mathis Deroo <[email protected]>
| * Modify set_conv_command_config to support command index from 1 to 7Mathis Deroo2025-12-092-4/+4
| | | | | | | | Signed-off-by: Mathis Deroo <[email protected]>
| * ADC driver improvementMathis Deroo2025-12-093-54/+22
| | | | | | | | Signed-off-by: Mathis Deroo <[email protected]>
* | trng: Add dedicated constructors without configurationFelipe Balbi2025-12-111-2/+20
| | | | | | | | | | These three constructors guarantee TRNG will work for the requested amount of entropy samples.
* | MCXA TRNG driverFelipe Balbi2025-12-091-0/+88
|/
* Merge pull request #5015 from jamesmunns/james/dma-suggestionsJames Munns2025-12-0910-0/+1572
|\ | | | | | | [MCXA]: Extend DMA interface
| * Add error state for DMA transfersJames Munns2025-12-092-3/+3
| |
| * Change transfer to return a resultJames Munns2025-12-092-2/+2
| |
| * Use saddr read instead of interrupt to avoid double handler definitionJames Munns2025-12-093-110/+61
| |
| * rustfmtJames Munns2025-12-095-6/+6
| |
| * Clean up remaining examples, move some to "raw" examplesJames Munns2025-12-096-331/+127
| |
| * Enforce scatter gather API staticallyJames Munns2025-12-091-18/+2
| |
| * Work on scatter-gather-builderJames Munns2025-12-081-111/+57
| |
| * Clean up examples, move interrupts to be more fully managedJames Munns2025-12-0815-256/+72
| |
| * Clean up some common PAC operations using helper methodsJames Munns2025-12-051-53/+22
| |
| * use core::fmt::Write instead of home-rolled fmtJames Munns2025-12-058-229/+16
| |
| * Create separate ring buffered RX receiver to encapsulate unsafeJames Munns2025-12-052-12/+5
| |
| * Enable DMA interrupts in constructorsJames Munns2025-12-051-6/+0
| |
| * Merge remote-tracking branch 'james-mcxa/feat/mcxa276-hal' into james/rebase-dmaJames Munns2025-12-0510-0/+2336
| |\
| | * MoveJames Munns2025-12-0523-0/+3035
| |
* | review commentsFelipe Balbi2025-12-081-20/+83
| |
* | mcxa: crc: check all word typesFelipe Balbi2025-12-051-11/+63
| | | | | | | | Signed-off-by: Felipe Balbi <[email protected]>
* | mcxa/crc: document the use of align_toFelipe Balbi2025-12-051-5/+5
| |
* | CRCFelipe Balbi2025-12-051-0/+39
|/ | | | | | Fixes #74 Signed-off-by: Felipe Balbi <[email protected]>
* rustfmtJames Munns2025-12-045-6/+6
|
* Move examples to top level example folderJames Munns2025-12-0414-0/+711