Skip to content

Commit 5e65c07

Browse files
bors[bot]Jonas Schievink
andauthored
Merge #11
11: Regenerate with svd2rust 0.21.0 r=jonas-schievink a=jonas-schievink bors r+ Co-authored-by: Jonas Schievink <jonas.schievink@ferrous-systems.com>
2 parents 1834c3f + a91f97f commit 5e65c07

File tree

6,133 files changed

+20347
-2020
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

6,133 files changed

+20347
-2020
lines changed

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"rust-analyzer.checkOnSave.enable": false
3+
}

Cargo.template.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
[package]
66
name = "{{NAME}}-pac"
7-
version = "0.10.1"
7+
version = "0.11.0"
88
edition = "2018"
99
description = "Peripheral Access Crate for Nordic's {{NAME}} microcontroller"
1010
keywords = ["no-std", "arm", "cortex-m", "nrf", "peripherals"]

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ members = [
66
default-members = ["xtask"]
77

88
# meta-dependencies (upgrade as needed, they apply to all PACs):
9-
# @svd2rust = 0.19.0
9+
# @svd2rust = 0.21.0
1010
# @form = 0.8.0

pacs/nrf51-pac/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
[package]
66
name = "nrf51-pac"
7-
version = "0.10.1"
7+
version = "0.11.0"
88
edition = "2018"
99
description = "Peripheral Access Crate for Nordic's nrf51 microcontroller"
1010
keywords = ["no-std", "arm", "cortex-m", "nrf", "peripherals"]

pacs/nrf51-pac/src/aar/enable.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ impl From<ENABLE_A> for u8 {
5252
#[doc = "Field `ENABLE` reader - Enable AAR."]
5353
pub struct ENABLE_R(crate::FieldReader<u8, ENABLE_A>);
5454
impl ENABLE_R {
55+
#[inline(always)]
5556
pub(crate) fn new(bits: u8) -> Self {
5657
ENABLE_R(crate::FieldReader::new(bits))
5758
}

pacs/nrf51-pac/src/aar/intenclr.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ impl From<END_A> for bool {
5151
#[doc = "Field `END` reader - Disable interrupt on ENDKSGEN event."]
5252
pub struct END_R(crate::FieldReader<bool, END_A>);
5353
impl END_R {
54+
#[inline(always)]
5455
pub(crate) fn new(bits: bool) -> Self {
5556
END_R(crate::FieldReader::new(bits))
5657
}
@@ -141,6 +142,7 @@ impl From<RESOLVED_A> for bool {
141142
#[doc = "Field `RESOLVED` reader - Disable interrupt on RESOLVED event."]
142143
pub struct RESOLVED_R(crate::FieldReader<bool, RESOLVED_A>);
143144
impl RESOLVED_R {
145+
#[inline(always)]
144146
pub(crate) fn new(bits: bool) -> Self {
145147
RESOLVED_R(crate::FieldReader::new(bits))
146148
}
@@ -231,6 +233,7 @@ impl From<NOTRESOLVED_A> for bool {
231233
#[doc = "Field `NOTRESOLVED` reader - Disable interrupt on NOTRESOLVED event."]
232234
pub struct NOTRESOLVED_R(crate::FieldReader<bool, NOTRESOLVED_A>);
233235
impl NOTRESOLVED_R {
236+
#[inline(always)]
234237
pub(crate) fn new(bits: bool) -> Self {
235238
NOTRESOLVED_R(crate::FieldReader::new(bits))
236239
}

pacs/nrf51-pac/src/aar/intenset.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ impl From<END_A> for bool {
5151
#[doc = "Field `END` reader - Enable interrupt on END event."]
5252
pub struct END_R(crate::FieldReader<bool, END_A>);
5353
impl END_R {
54+
#[inline(always)]
5455
pub(crate) fn new(bits: bool) -> Self {
5556
END_R(crate::FieldReader::new(bits))
5657
}
@@ -141,6 +142,7 @@ impl From<RESOLVED_A> for bool {
141142
#[doc = "Field `RESOLVED` reader - Enable interrupt on RESOLVED event."]
142143
pub struct RESOLVED_R(crate::FieldReader<bool, RESOLVED_A>);
143144
impl RESOLVED_R {
145+
#[inline(always)]
144146
pub(crate) fn new(bits: bool) -> Self {
145147
RESOLVED_R(crate::FieldReader::new(bits))
146148
}
@@ -231,6 +233,7 @@ impl From<NOTRESOLVED_A> for bool {
231233
#[doc = "Field `NOTRESOLVED` reader - Enable interrupt on NOTRESOLVED event."]
232234
pub struct NOTRESOLVED_R(crate::FieldReader<bool, NOTRESOLVED_A>);
233235
impl NOTRESOLVED_R {
236+
#[inline(always)]
234237
pub(crate) fn new(bits: bool) -> Self {
235238
NOTRESOLVED_R(crate::FieldReader::new(bits))
236239
}

pacs/nrf51-pac/src/aar/nirk.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ impl From<crate::W<NIRK_SPEC>> for W {
3737
#[doc = "Field `NIRK` reader - Number of Identity root Keys in the IRK data structure."]
3838
pub struct NIRK_R(crate::FieldReader<u8, u8>);
3939
impl NIRK_R {
40+
#[inline(always)]
4041
pub(crate) fn new(bits: u8) -> Self {
4142
NIRK_R(crate::FieldReader::new(bits))
4243
}

pacs/nrf51-pac/src/aar/power.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ impl From<POWER_A> for bool {
5151
#[doc = "Field `POWER` reader - Peripheral power control."]
5252
pub struct POWER_R(crate::FieldReader<bool, POWER_A>);
5353
impl POWER_R {
54+
#[inline(always)]
5455
pub(crate) fn new(bits: bool) -> Self {
5556
POWER_R(crate::FieldReader::new(bits))
5657
}

pacs/nrf51-pac/src/aar/status.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ impl From<crate::R<STATUS_SPEC>> for R {
1616
#[doc = "Field `STATUS` reader - The IRK used last time an address was resolved."]
1717
pub struct STATUS_R(crate::FieldReader<u8, u8>);
1818
impl STATUS_R {
19+
#[inline(always)]
1920
pub(crate) fn new(bits: u8) -> Self {
2021
STATUS_R(crate::FieldReader::new(bits))
2122
}

0 commit comments

Comments
 (0)