Jonathan 'theJPster' Pallant
14d76a60c4
Update README to link to crates.io
2 years ago
Jonathan 'theJPster' Pallant
e4e906306e
Merge pull request #41 from dkm/master
...
Fix various minor warnings from clippy
2 years ago
Marc Poulhiès
b58997be7a
Fix various minor warnings from clippy
...
Mainly fix for:
- missing #Safety doc for pub unsafe fn
- manual non-exhaustive patterns
2 years ago
Diego Barrios Romero
6710ca50e1
Bump tm4c129x-hal version to 0.9.2 for release
2 years ago
Diego Barrios Romero
1a672dc982
Add changelog entry for tm4c129x-hal release
2 years ago
Diego Barrios Romero
a3975ab6ce
Bump nb and tm4c-hal dependencies
2 years ago
Diego Barrios Romero
29579e849e
Bump tm4c123x-hal version to 0.10.2
2 years ago
Diego Barrios Romero
17ba94b2f9
Add changelog entry for release of tm4c123x-hal
2 years ago
Diego Barrios Romero
0068983cb9
Update tm4c-hal dependency
2 years ago
Diego Barrios Romero
52cc0076d0
Bump nb dependency
2 years ago
Diego Barrios Romero
64fafecdb5
Add 0.4.1 changelog entry
2 years ago
Diego Barrios Romero
4a650dbac9
Bump tm4c-hal patch version for release
2 years ago
Diego Barrios Romero
215b0b5d91
Bump nb dependency
2 years ago
Diego Barrios Romero
bf290e8482
Update repository paths
2 years ago
Jonathan 'theJPster' Pallant
096a81699d
Merge pull request #35 from dkm/master
...
Fix i2c busy / bus busy handling
2 years ago
Marc Poulhiès
a6555649c2
Fix i2c busy / bus busy handling
...
Restore previous logic where a transaction starts by waiting for the controler
to be ready and the bus available and then only wait for the controller to be ready
at intermediate step (not the bus to be available as it will be busy).
Modify the i2c_busy_wait to implement this behavior.
fix #34
2 years ago
Jonathan 'theJPster' Pallant
be36ae7de8
Merge pull request #33 from dtwood/add-RTC-from-HIB
...
Add support for RTC from the HIB peripheral
2 years ago
David Wood
77f4308a7c
Add support for RTC from the HIB peripheral
2 years ago
Jonathan 'theJPster' Pallant
72558593b4
Merge pull request #31 from dkm/master
...
Make interrupt macro and fix SCL pin type for I2C
2 years ago
Marc Poulhiès
71b29888db
Rename a name from a copy/paste and fix SCL pin type
...
The macro i2c_pins was probably copied from the uart one.
The type for the SCL pin was also changed from OutputMode to OD<Floating>.
2 years ago
Marc Poulhiès
44b0fdff9c
re-export interrupt macro from cortex-m-rt
...
This is needed for proper use of #[interrupt] macro to override default handler
of device specific interrupt handlers.
2 years ago
Jonathan 'theJPster' Pallant
e176158e57
Bumping to 0.9.1
2 years ago
Jonathan 'theJPster' Pallant
1b8b7f0c29
Added changelog
2 years ago
Jonathan 'theJPster' Pallant
e19496b0b0
Bumping tm4c123x-hal to 0.10.1
2 years ago
Jonathan 'theJPster' Pallant
941c46e624
Bumped tm4c-hal to 0.4.0
2 years ago
Jonathan 'theJPster' Pallant
9712fe5c2d
Merge pull request #30 from dkm/master
...
Add function to read from GPIOMIS interrupt status
2 years ago
Jonathan 'theJPster' Pallant
e54e32fdb2
Merge pull request #29 from thejpster/i2c_updates
...
I2C updates
2 years ago
Jonathan 'theJPster' Pallant
f031f956fa
Merge pull request #28 from mokomull/pwm
...
Implement embedded_hal::Pwm for TIMER0..=5
2 years ago
Jonathan 'theJPster' Pallant
308bf4e6b8
Putting brackets back in.
2 years ago
Marc Poulhiès
76c72a8635
Add function to read from GPIOMIS interrupt status
...
Simple function to read interrupt status for a GPIO pin.
2 years ago
Jonathan 'theJPster' Pallant
af0f797062
Cargo fmt.
2 years ago
Jonathan 'theJPster' Pallant
feb54c41b1
Applying suggested changes.
2 years ago
David Wood
4d50753d21
Only check I2C error bits when BUSY is clear
2 years ago
Matt Mullins
8ff1d3edfc
Implement embedded_hal::Pwm for TIMER0..=5
...
This is modeled by the `serial` module, and takes ownership of timer
peripherals and the appropriate GPIO pins to implement the Pwm trait.
It is slightly unfortunate that it takes ownership of the entire timer
peripheral rather than allowing the user to call `.into_even()` and use
timer B for other things (or vice-versa).
This has been tested by porting the examples in the stellaris-launchpad
crate and running them on the EK-LM4F120XL LaunchPad.
2 years ago
Jonathan 'theJPster' Pallant
dfc2a34f37
Merge branch 'master' into i2c_updates
2 years ago
Jonathan 'theJPster' Pallant
8341f14841
Added I2C timeout. Moved some code into the common crate.
2 years ago
David Wood
c6f576f186
Merge pull request #26 from Inityx/cleanup-use
...
Clean up imports and crate attributes
2 years ago
Andrew Tolvstad
aba97e2980
Clean up imports and crate attributes
...
The imports in most files appear to have been incompletely converted from
edition 2015 to edition 2018, with duplicates and repeated prefixes.
Additionally, some crate attributes were set separately when they could have
been set jointly.
This change cleans up imports and consolidates crate attributes.
Some import sections have been annotated `#[rustfmt::skip]` and manually
formatted for readability.
2 years ago
Jonathan 'theJPster' Pallant
951e4613c2
Merge pull request #24 from dkm/master
...
Some little enhancements...
3 years ago
Marc Poulhiès
2d92eb3580
Use dedicated method instead of hardcoded value
...
Prefer the use of tm4c123 crate's methods instead of hardcoded values
when writing in some registers.
3 years ago
Marc Poulhiès
609334230b
Basic support for timers
...
Supports all the 32 (6) and 64bits (6) timers in one-shot mode. Use
both types of timer at their full width (no support for timer
spliting).
3 years ago
Marc Poulhiès
a5915c7bd1
Allow using pull up/down resistors on output pin with alternate func
...
Use case: using SSI for 1-wire communications must ensure the MOSI pin
is high or low, but SSI leaves MOSI pin as opendrain on idle.
There may be some cases of slave devices that end up in incorrect
state when this signal is unstable.
3 years ago
Jonathan 'theJPster' Pallant
681dd11474
Metadata update.
3 years ago
Jonathan 'theJPster' Pallant
718625898f
Merge pull request #22 from thejpster/bump_cortexm
...
Package version updates:
3 years ago
Jonathan 'theJPster' Pallant
d9e86c9bf9
Fix internal versions.
3 years ago
Jonathan 'theJPster' Pallant
659b2aac8c
Merge branch 'master' into bump_cortexm
3 years ago
Jonathan 'theJPster' Pallant
e2a6085c1a
Merge pull request #23 from thejpster/add_actions
...
Add Github Action
3 years ago
Jonathan 'theJPster' Pallant
8c752afe69
Change action name.
3 years ago
Jonathan 'theJPster' Pallant
c4ec8c2f74
Check formatting.
3 years ago
Jonathan 'theJPster' Pallant
32b543a042
Remove Travis config.
3 years ago