aboutsummaryrefslogtreecommitdiff
path: root/src/register (follow)
AgeCommit message (Collapse)AuthorFilesLines
2020-06-06Add #[allow(clippy::missing_inline_in_public_items)] for consistencyGravatar Dániel Buga 1-0/+1
2020-06-06Make RMode methods actually accessibleGravatar Dániel Buga 1-4/+4
2020-06-06Add missing #[inline]sGravatar Dániel Buga 1-0/+14
2020-06-06Oops. Fix pattern matchingGravatar Dániel Buga 1-4/+4
2020-06-06Add methods to RModeGravatar Dániel Buga 1-13/+39
2020-06-06Implement bit manipulation methodsGravatar Dániel Buga 1-0/+128
2020-05-28Stylistic updates, add from_bitsGravatar Dániel Buga 1-11/+17
2020-05-28Fix remaining compiler sadnessGravatar Dániel Buga 1-5/+9
2020-05-28Where did those ifs come from...Gravatar Dániel Buga 1-9/+9
2020-05-28Fix doc commentsGravatar Dániel Buga 1-15/+15
2020-05-28Fix store instructionsGravatar Dániel Buga 1-1/+1
2020-05-27Add doc commentsGravatar Dániel Buga 1-0/+12
2020-05-27Implement accessing FPSCRGravatar Dániel Buga 2-0/+159
2020-04-28Use llmv_asm! macro for inline assemblyGravatar Stian Eklund 12-22/+22
\ fixes #204 the `asm!` macro will soon be deprecated. This changes all of the `asm!` calls to `llvm_asm!` To my knowledge doing a direct replacement should be fine.
2020-01-15Remove deprecated APIs and the `const-fn` featureGravatar Jonas Schievink 1-21/+0
2019-10-29Enable the missing_inline_in_public_items clippy lint.Gravatar Mara Bos 4-0/+7
2019-10-29Merge #171Gravatar bors[bot] 3-0/+10
171: Add `#[inline]` to lots of trivial functions. r=korken89 a=m-ou-se Now the only public non-inline functions left are: - `write_all` - `write_aligned` - All (derived) `Debug` implementations (Checked using Clippy's [`missing_inline_in_public_items`][1] lint.) [1]: https://rust-lang.github.io/rust-clippy/master/#missing_inline_in_public_items Co-authored-by: Mara Bos <m-ou.se@m-ou.se>
2019-10-29Merge #167Gravatar bors[bot] 1-3/+24
167: Deprecate basepri/basepri_max on thumbv8m.base r=korken89 a=JJJollyjim First step in resolving #155 Co-authored-by: Jamie McClymont <jamie@kwiius.com>
2019-10-29Add `#[inline]` to some more functions.Gravatar Mara Bos 3-0/+10
Now the only public non-inline functions left are: - write_all - write_aligned - All (derived) Debug implementations (Checked using Clippy's missing_inline_in_public_items lint.)
2019-10-09Make Clippy happy.Gravatar Mara Bos 4-30/+30
2019-09-21Deprecate nonexistent registers on thumbv8m.baseGravatar Jamie McClymont 1-3/+24
First step in resolving #155
2019-09-10Make some trivial functions eligible for inliningGravatar Jonas Schievink 1-0/+14
2019-09-08Remove unnecessary unsafe blockGravatar Jonas Schievink 1-1/+1
2019-09-08Fix errors and warningsGravatar Jonas Schievink 1-16/+14
2019-09-06Allow writing to the CONTROL registerGravatar Jonas Schievink 1-2/+63
2019-08-11Add {M,P}SPLIM access routines found on ARMv8-MGravatar Aurabindo Jayamohanan 3-0/+100
Signed-off-by: Aurabindo Jayamohanan <mail@aurabindo.in>
2019-07-29Fix missing `crate::`Gravatar Adam Greig 2-2/+2
2018-08-26remove build dependency on arm-none-eabi-gccGravatar Jorge Aparicio 2-9/+33
by shipping pre-assembled object files. This is the same approach as the one used in rust-embedded/cortex-m#95
2018-05-11fix build for ARMv7E-M + "inline-asm"Gravatar Jorge Aparicio 2-2/+2
2018-05-11stable by default, remove exception module, add SCB.vect_active, ..Gravatar Jorge Aparicio 6-5/+15
tweak Exception enum to match CMSIS names, document the parts of the API that require opting into `"inline-asm"`.
2018-04-26make compilable on stableGravatar Jorge Aparicio 11-63/+198
2017-12-23add a Cargo feature, cm7-r0p1, to fix a Cortex-M7 BASEPRI erratumGravatar Jorge Aparicio 2-4/+26
2017-12-23map asm! ops to unimplemented! on non ARM targetsGravatar Jorge Aparicio 10-128/+151
2017-07-20v0.3.1v0.3.1Gravatar Jorge Aparicio 2-2/+2
2017-05-15derive Clone, Copy and Debug for more structs / enumsGravatar Jorge Aparicio 4-5/+7
2017-04-11remove the, now unnecessary, unsafe blocksGravatar Jorge Aparicio 1-7/+5
2017-04-11make NVIC.set_priority and basepri::write unsafeGravatar Jorge Aparicio 1-1/+1
2017-03-10reformatGravatar Jorge Aparicio 1-2/+2
2017-03-04remove an unnecessary castGravatar Jorge Aparicio 1-1/+1
2017-03-04fix cfg: thumbv6m -> armv6mGravatar Jorge Aparicio 1-3/+3
2017-03-04review safety of the existing API, make the register API type safeGravatar Jorge Aparicio 11-0/+433