9names
369ac5a23f
Add UART example + core::fmt support to UART ( #73 )
...
* Add standalone UART example
* Add UART example to docs in UART module
* Add core::fmt::write_str to UART module to allow easy use of format! macro in user code
2021-08-08 15:36:56 +10:00
Hmvp
bcfbd72ed1
Update embedded time
2021-07-27 09:41:03 +10:00
Andrea Nall
8d0fde20c6
Add SubsystemReset
trait to handle subsystem resets
...
dd a `SubsystemReset` trait which adds a `reset_bring_up` function to the
relevant PAC types to handle bringing subsystems out of reset.
Also, correct that the PLL and UART modules did not bring the relevant
subsystems out of reset and refactor the GPIO module to use the
SubsystemReset trait.
2021-05-16 13:12:26 -05:00
Nic0w
9b082b012d
Clippy, second pass for errors in CI.
2021-05-09 09:53:22 +02:00
Nic0w
020c9d9a3d
cargo clippy & fmt
2021-05-05 08:06:47 +02:00
Nic0w
c35358f475
Change comment on baudrate calculation
2021-05-05 08:02:53 +02:00
Nic0w
8586f98c02
Better comments and renamed variable names for more clarity.
2021-05-04 22:16:04 +02:00
Nic0w
be78a5c792
Consistency re. clear_bit/set_bit.
2021-05-04 19:56:36 +02:00
Nic0w
ac2af7582e
Pulling the integer out of the frequency first.
2021-05-04 19:54:15 +02:00
Nic0w
d9b1b2b1ec
Fix comments on {read,write}_raw() functions
2021-05-04 19:48:40 +02:00
Nic0w
8d29464ee3
Propagate read errors.
2021-05-02 09:04:05 +02:00
Nic0w
992bcdf47b
Cargo fmt
2021-05-02 08:42:51 +02:00
Nic0w
abf91a3687
Move serial traits impl. back to uart.rs
2021-05-02 08:41:20 +02:00
Nic0w
835ad7a5c1
Read errors.
2021-05-02 08:27:29 +02:00
Nic0w
f3fba80a71
Implement embedded_hal::serial traits for the UART.
2021-04-26 22:05:37 +02:00
Nic0w
50a428e2ad
Error needs to derive Debug if we want to unwrap.
2021-04-26 21:25:52 +02:00
Nic0w
920d0dc897
Merge branch 'uart' of github.com:Nic0w/rp-hal into uart
2021-04-26 09:20:22 +02:00
Nic0w
4d949f7310
Multiple changes addressing @tdittr 's comments.
2021-04-26 09:14:32 +02:00
Nic0w
aa3fe8fd20
Disable the UART for real when disabling UART.
2021-04-25 20:25:29 +02:00
Nic0w
c50a5b6001
Cosmetics.
2021-04-25 20:24:56 +02:00
Nic0w
f9254fdffa
Increment byte_written after write has happened.
...
Co-authored-by: tdittr <tdittr@users.noreply.github.com>
2021-04-25 20:00:56 +02:00
Nic0w
b9080d0a92
Working implementation of an UART HAL.
2021-04-25 10:51:46 +02:00
evan
98baabec93
Added skeleton for HAL and updated readme
2021-01-25 15:42:43 -05:00