-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UART v2 #443
UART v2 #443
Commits on Jun 21, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c314c3d - Browse repository at this point
Copy the full SHA c314c3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5091949 - Browse repository at this point
Copy the full SHA 5091949View commit details -
Configuration menu - View commit details
-
Copy full SHA for 367ffab - Browse repository at this point
Copy the full SHA 367ffabView commit details -
Configuration menu - View commit details
-
Copy full SHA for 82bcd3c - Browse repository at this point
Copy the full SHA 82bcd3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c15a81 - Browse repository at this point
Copy the full SHA 6c15a81View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b610f8 - Browse repository at this point
Copy the full SHA 7b610f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d0c93cb - Browse repository at this point
Copy the full SHA d0c93cbView commit details -
Internal clock mode bugfix, add IrDA support
Bugfix: enable USART internal clock mode on init.
Configuration menu - View commit details
-
Copy full SHA for 499d2a6 - Browse repository at this point
Copy the full SHA 499d2a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 512e269 - Browse repository at this point
Copy the full SHA 512e269View commit details -
DMA transfers; Change way of splitting Uart rx and tx.
* Added DMA support * Uart tx and rx fields are now public instead of split()/join() methods.
Configuration menu - View commit details
-
Copy full SHA for 3173f11 - Browse repository at this point
Copy the full SHA 3173f11View commit details -
Kitchen sink of jelly-bean changes:
* Doc fixes in v2::{uart, spi} * Remove dead code warning in dmac::channel::reg.rs * BEAT -> BURST DMAC trigger (thumbv7em) * Add deprecation warnings for v1::{uart, spi} (thumbv6m and thumbv7em)
Configuration menu - View commit details
-
Copy full SHA for f2424c1 - Browse repository at this point
Copy the full SHA f2424c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a7a8bf6 - Browse repository at this point
Copy the full SHA a7a8bf6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1df5109 - Browse repository at this point
Copy the full SHA 1df5109View commit details -
Remove the sercom::v2::Pad type
The `sercom::v2::Pad` type was a simple wrapper around a `gpio::v2::Pin` type. Its purpose was to ensure that each `Pin` was properly configured to act as the corresponding SERCOM `Pad`. However, one of my goals in designing the `v2::spi` API was to avoid the need for users to manually convert `Pin` types to `Pad` types. As that module progressed, it became clear that the `v2::Pad` type served no real purpose. All the same constraints could be imposed using a slightly different approach to type-level programming. Remove the `v2::Pad` type and modify the `sercom::v2::pad` module accordingly. Update the `v1::Pad` type as well. Rename some of the type-level items in the `v2::pad` module and improve the documentation. Update the `sercom::v1` peripheral APIs to accept both `v1::Pad` types and the equivalent of a `v2::Pad`, which is simply a properly configured `v2::Pin`.
Configuration menu - View commit details
-
Copy full SHA for cc58bed - Browse repository at this point
Copy the full SHA cc58bedView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1add44a - Browse repository at this point
Copy the full SHA 1add44aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b490c75 - Browse repository at this point
Copy the full SHA b490c75View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f9fa33 - Browse repository at this point
Copy the full SHA 1f9fa33View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b43f65 - Browse repository at this point
Copy the full SHA 9b43f65View commit details -
Configuration menu - View commit details
-
Copy full SHA for 37fbc1a - Browse repository at this point
Copy the full SHA 37fbc1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b22ec6 - Browse repository at this point
Copy the full SHA 1b22ec6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 500b94e - Browse repository at this point
Copy the full SHA 500b94eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 017fba6 - Browse repository at this point
Copy the full SHA 017fba6View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc23fd6 - Browse repository at this point
Copy the full SHA cc23fd6View commit details
Commits on Jun 25, 2021
-
Complete refactor of handling split Tx/Rx.
* Change UartRx/UartTx to a unified Uart struct (with capability-dictating type parameter) * Add Capability, Transmit, Receive, Simplex traits * Implement AsMut<Reconfig> for (&mut Uart<C, RxDuplex>, &mut Uart<C, TxDuplex>) to allow reconfiguring without needing to move Rx/Tx halves into a Uart<C, Duplex> * Split some code into submodules * Add RegisterInterface trait to help with some register accesses * Update docs
Configuration menu - View commit details
-
Copy full SHA for fc04ba8 - Browse repository at this point
Copy the full SHA fc04ba8View commit details -
Remove the sercom::v2::Pad type (atsamd-rs#451)
The `sercom::v2::Pad` type was a simple wrapper around a `gpio::v2::Pin` type. Its purpose was to ensure that each `Pin` was properly configured to act as the corresponding SERCOM `Pad`. However, one of my goals in designing the `v2::spi` API was to avoid the need for users to manually convert `Pin` types to `Pad` types. As that module progressed, it became clear that the `v2::Pad` type served no real purpose. All the same constraints could be imposed using a slightly different approach to type-level programming. Remove the `v2::Pad` type and modify the `sercom::v2::pad` module accordingly. Update the `v1::Pad` type as well. Rename some of the type-level items in the `v2::pad` module and improve the documentation. Update the `sercom::v1` peripheral APIs to accept both `v1::Pad` types and the equivalent of a `v2::Pad`, which is simply a properly configured `v2::Pin`. Finally, redefine the type parameters of `v2::spi::Pads` to be `OptionalPad`s rather than `OptionalPinId`s, and provide a new `PadsFromIds` to make up for it. This change increases consistency in the definition of the `spi::Pads` type, and it allows me to remove a significant amount of trait boilerplate needed to make it all work.
Configuration menu - View commit details
-
Copy full SHA for ac03bd3 - Browse repository at this point
Copy the full SHA ac03bd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8673208 - Browse repository at this point
Copy the full SHA 8673208View commit details -
Configuration menu - View commit details
-
Copy full SHA for a144482 - Browse repository at this point
Copy the full SHA a144482View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bf98ac - Browse repository at this point
Copy the full SHA 9bf98acView commit details
Commits on Jun 28, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 1120fd4 - Browse repository at this point
Copy the full SHA 1120fd4View commit details -
Merge thumbv6m and thumbv7em implementations
Merge UART implementations into single top-level sercom module Change RegisterInterface trait to Registers struct
Configuration menu - View commit details
-
Copy full SHA for fde8dac - Browse repository at this point
Copy the full SHA fde8dacView commit details -
Fix spi::Length issue in sercom::dma.rs
For thumbv7em targets: it was possible to have [u8; length] as a valid DMA beat. Adds the AtomicLength, which restricts DMA transactions to single u8, u16 or u32 words.
Configuration menu - View commit details
-
Copy full SHA for 82b959d - Browse repository at this point
Copy the full SHA 82b959dView commit details -
Updated feather_m0 and feather_m4 BSPs and added uart examples
Configuration menu - View commit details
-
Copy full SHA for e5ada81 - Browse repository at this point
Copy the full SHA e5ada81View commit details
Commits on Jun 30, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 112894e - Browse repository at this point
Copy the full SHA 112894eView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd53693 - Browse repository at this point
Copy the full SHA dd53693View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3822686 - Browse repository at this point
Copy the full SHA 3822686View commit details
Commits on Jul 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for ed81ff6 - Browse repository at this point
Copy the full SHA ed81ff6View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc3fca2 - Browse repository at this point
Copy the full SHA bc3fca2View commit details
Commits on Jul 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 856117f - Browse repository at this point
Copy the full SHA 856117fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 145b8f1 - Browse repository at this point
Copy the full SHA 145b8f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f43201 - Browse repository at this point
Copy the full SHA 9f43201View commit details -
Configuration menu - View commit details
-
Copy full SHA for ccd4e5d - Browse repository at this point
Copy the full SHA ccd4e5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 827dfe5 - Browse repository at this point
Copy the full SHA 827dfe5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 71ced79 - Browse repository at this point
Copy the full SHA 71ced79View commit details
Commits on Jul 7, 2021
-
Configuration menu - View commit details
-
Copy full SHA for a456ed3 - Browse repository at this point
Copy the full SHA a456ed3View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0baf11 - Browse repository at this point
Copy the full SHA b0baf11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b45804 - Browse repository at this point
Copy the full SHA 4b45804View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13bf4cf - Browse repository at this point
Copy the full SHA 13bf4cfView commit details
Commits on Jul 9, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 332b9b8 - Browse repository at this point
Copy the full SHA 332b9b8View commit details
Commits on Jul 21, 2021
-
Configuration menu - View commit details
-
Copy full SHA for f695821 - Browse repository at this point
Copy the full SHA f695821View commit details
Commits on Jul 28, 2021
-
Configuration menu - View commit details
-
Copy full SHA for a0c747e - Browse repository at this point
Copy the full SHA a0c747eView commit details -
Improve CharSize API Registers methods take Flags and Status structs instead of raw bits Remove From implementations for StopBits, BitOrder, Baud, etc.
Configuration menu - View commit details
-
Copy full SHA for 368044c - Browse repository at this point
Copy the full SHA 368044cView commit details
Commits on Jul 29, 2021
-
Only enable CTRLA.{RXEN|TXEN} if necessary
RXEN/TXEN will only be enabled if the underlying Pads have RX/TX capability.
Configuration menu - View commit details
-
Copy full SHA for 5b03193 - Browse repository at this point
Copy the full SHA 5b03193View commit details -
Configuration menu - View commit details
-
Copy full SHA for f9654ec - Browse repository at this point
Copy the full SHA f9654ecView commit details
Commits on Jul 30, 2021
-
Move BITS constant from CharSize to FixedCharSize
Move BITS constant from CharSize to FixedCharSize trait and rename to SIZE
Configuration menu - View commit details
-
Copy full SHA for 0eac8bb - Browse repository at this point
Copy the full SHA 0eac8bbView commit details