Update nrf pacs
This commit is contained in:
parent
ce1cba761c
commit
ea868920e6
@ -90,13 +90,13 @@ embedded-storage = "0.3.0"
|
|||||||
embedded-storage-async = { version = "0.3.0", optional = true }
|
embedded-storage-async = { version = "0.3.0", optional = true }
|
||||||
cfg-if = "1.0.0"
|
cfg-if = "1.0.0"
|
||||||
|
|
||||||
nrf52805-pac = { version = "0.11.0", optional = true, features = [ "rt" ] }
|
nrf52805-pac = { version = "0.12.0", optional = true, features = [ "rt" ] }
|
||||||
nrf52810-pac = { version = "0.11.0", optional = true, features = [ "rt" ] }
|
nrf52810-pac = { version = "0.12.0", optional = true, features = [ "rt" ] }
|
||||||
nrf52811-pac = { version = "0.11.0", optional = true, features = [ "rt" ] }
|
nrf52811-pac = { version = "0.12.0", optional = true, features = [ "rt" ] }
|
||||||
nrf52820-pac = { version = "0.11.0", optional = true, features = [ "rt" ] }
|
nrf52820-pac = { version = "0.12.0", optional = true, features = [ "rt" ] }
|
||||||
nrf52832-pac = { version = "0.11.0", optional = true, features = [ "rt" ] }
|
nrf52832-pac = { version = "0.12.0", optional = true, features = [ "rt" ] }
|
||||||
nrf52833-pac = { version = "0.11.0", optional = true, features = [ "rt" ] }
|
nrf52833-pac = { version = "0.12.0", optional = true, features = [ "rt" ] }
|
||||||
nrf52840-pac = { version = "0.11.0", optional = true, features = [ "rt" ] }
|
nrf52840-pac = { version = "0.12.0", optional = true, features = [ "rt" ] }
|
||||||
nrf5340-app-pac = { version = "0.11.0", optional = true, features = [ "rt" ] }
|
nrf5340-app-pac = { version = "0.12.0", optional = true, features = [ "rt" ] }
|
||||||
nrf5340-net-pac = { version = "0.11.0", optional = true, features = [ "rt" ] }
|
nrf5340-net-pac = { version = "0.12.0", optional = true, features = [ "rt" ] }
|
||||||
nrf9160-pac = { version = "0.11.0", optional = true, features = [ "rt" ] }
|
nrf9160-pac = { version = "0.12.0", optional = true, features = [ "rt" ] }
|
||||||
|
@ -193,8 +193,8 @@ impl_ppi_channel!(PPI_CH29, 29 => static);
|
|||||||
impl_ppi_channel!(PPI_CH30, 30 => static);
|
impl_ppi_channel!(PPI_CH30, 30 => static);
|
||||||
impl_ppi_channel!(PPI_CH31, 31 => static);
|
impl_ppi_channel!(PPI_CH31, 31 => static);
|
||||||
|
|
||||||
impl_saadc_input!(P0_04, ANALOGINPUT2);
|
impl_saadc_input!(P0_04, ANALOG_INPUT2);
|
||||||
impl_saadc_input!(P0_05, ANALOGINPUT3);
|
impl_saadc_input!(P0_05, ANALOG_INPUT3);
|
||||||
|
|
||||||
pub mod irqs {
|
pub mod irqs {
|
||||||
use embassy_cortex_m::interrupt::_export::declare;
|
use embassy_cortex_m::interrupt::_export::declare;
|
||||||
|
@ -211,14 +211,14 @@ impl_ppi_channel!(PPI_CH29, 29 => static);
|
|||||||
impl_ppi_channel!(PPI_CH30, 30 => static);
|
impl_ppi_channel!(PPI_CH30, 30 => static);
|
||||||
impl_ppi_channel!(PPI_CH31, 31 => static);
|
impl_ppi_channel!(PPI_CH31, 31 => static);
|
||||||
|
|
||||||
impl_saadc_input!(P0_02, ANALOGINPUT0);
|
impl_saadc_input!(P0_02, ANALOG_INPUT0);
|
||||||
impl_saadc_input!(P0_03, ANALOGINPUT1);
|
impl_saadc_input!(P0_03, ANALOG_INPUT1);
|
||||||
impl_saadc_input!(P0_04, ANALOGINPUT2);
|
impl_saadc_input!(P0_04, ANALOG_INPUT2);
|
||||||
impl_saadc_input!(P0_05, ANALOGINPUT3);
|
impl_saadc_input!(P0_05, ANALOG_INPUT3);
|
||||||
impl_saadc_input!(P0_28, ANALOGINPUT4);
|
impl_saadc_input!(P0_28, ANALOG_INPUT4);
|
||||||
impl_saadc_input!(P0_29, ANALOGINPUT5);
|
impl_saadc_input!(P0_29, ANALOG_INPUT5);
|
||||||
impl_saadc_input!(P0_30, ANALOGINPUT6);
|
impl_saadc_input!(P0_30, ANALOG_INPUT6);
|
||||||
impl_saadc_input!(P0_31, ANALOGINPUT7);
|
impl_saadc_input!(P0_31, ANALOG_INPUT7);
|
||||||
|
|
||||||
pub mod irqs {
|
pub mod irqs {
|
||||||
use embassy_cortex_m::interrupt::_export::declare;
|
use embassy_cortex_m::interrupt::_export::declare;
|
||||||
|
@ -212,14 +212,14 @@ impl_ppi_channel!(PPI_CH29, 29 => static);
|
|||||||
impl_ppi_channel!(PPI_CH30, 30 => static);
|
impl_ppi_channel!(PPI_CH30, 30 => static);
|
||||||
impl_ppi_channel!(PPI_CH31, 31 => static);
|
impl_ppi_channel!(PPI_CH31, 31 => static);
|
||||||
|
|
||||||
impl_saadc_input!(P0_02, ANALOGINPUT0);
|
impl_saadc_input!(P0_02, ANALOG_INPUT0);
|
||||||
impl_saadc_input!(P0_03, ANALOGINPUT1);
|
impl_saadc_input!(P0_03, ANALOG_INPUT1);
|
||||||
impl_saadc_input!(P0_04, ANALOGINPUT2);
|
impl_saadc_input!(P0_04, ANALOG_INPUT2);
|
||||||
impl_saadc_input!(P0_05, ANALOGINPUT3);
|
impl_saadc_input!(P0_05, ANALOG_INPUT3);
|
||||||
impl_saadc_input!(P0_28, ANALOGINPUT4);
|
impl_saadc_input!(P0_28, ANALOG_INPUT4);
|
||||||
impl_saadc_input!(P0_29, ANALOGINPUT5);
|
impl_saadc_input!(P0_29, ANALOG_INPUT5);
|
||||||
impl_saadc_input!(P0_30, ANALOGINPUT6);
|
impl_saadc_input!(P0_30, ANALOG_INPUT6);
|
||||||
impl_saadc_input!(P0_31, ANALOGINPUT7);
|
impl_saadc_input!(P0_31, ANALOG_INPUT7);
|
||||||
|
|
||||||
pub mod irqs {
|
pub mod irqs {
|
||||||
use embassy_cortex_m::interrupt::_export::declare;
|
use embassy_cortex_m::interrupt::_export::declare;
|
||||||
|
@ -225,14 +225,14 @@ impl_ppi_channel!(PPI_CH29, 29 => static);
|
|||||||
impl_ppi_channel!(PPI_CH30, 30 => static);
|
impl_ppi_channel!(PPI_CH30, 30 => static);
|
||||||
impl_ppi_channel!(PPI_CH31, 31 => static);
|
impl_ppi_channel!(PPI_CH31, 31 => static);
|
||||||
|
|
||||||
impl_saadc_input!(P0_02, ANALOGINPUT0);
|
impl_saadc_input!(P0_02, ANALOG_INPUT0);
|
||||||
impl_saadc_input!(P0_03, ANALOGINPUT1);
|
impl_saadc_input!(P0_03, ANALOG_INPUT1);
|
||||||
impl_saadc_input!(P0_04, ANALOGINPUT2);
|
impl_saadc_input!(P0_04, ANALOG_INPUT2);
|
||||||
impl_saadc_input!(P0_05, ANALOGINPUT3);
|
impl_saadc_input!(P0_05, ANALOG_INPUT3);
|
||||||
impl_saadc_input!(P0_28, ANALOGINPUT4);
|
impl_saadc_input!(P0_28, ANALOG_INPUT4);
|
||||||
impl_saadc_input!(P0_29, ANALOGINPUT5);
|
impl_saadc_input!(P0_29, ANALOG_INPUT5);
|
||||||
impl_saadc_input!(P0_30, ANALOGINPUT6);
|
impl_saadc_input!(P0_30, ANALOG_INPUT6);
|
||||||
impl_saadc_input!(P0_31, ANALOGINPUT7);
|
impl_saadc_input!(P0_31, ANALOG_INPUT7);
|
||||||
|
|
||||||
pub mod irqs {
|
pub mod irqs {
|
||||||
use embassy_cortex_m::interrupt::_export::declare;
|
use embassy_cortex_m::interrupt::_export::declare;
|
||||||
|
@ -271,14 +271,14 @@ impl_ppi_channel!(PPI_CH29, 29 => static);
|
|||||||
impl_ppi_channel!(PPI_CH30, 30 => static);
|
impl_ppi_channel!(PPI_CH30, 30 => static);
|
||||||
impl_ppi_channel!(PPI_CH31, 31 => static);
|
impl_ppi_channel!(PPI_CH31, 31 => static);
|
||||||
|
|
||||||
impl_saadc_input!(P0_02, ANALOGINPUT0);
|
impl_saadc_input!(P0_02, ANALOG_INPUT0);
|
||||||
impl_saadc_input!(P0_03, ANALOGINPUT1);
|
impl_saadc_input!(P0_03, ANALOG_INPUT1);
|
||||||
impl_saadc_input!(P0_04, ANALOGINPUT2);
|
impl_saadc_input!(P0_04, ANALOG_INPUT2);
|
||||||
impl_saadc_input!(P0_05, ANALOGINPUT3);
|
impl_saadc_input!(P0_05, ANALOG_INPUT3);
|
||||||
impl_saadc_input!(P0_28, ANALOGINPUT4);
|
impl_saadc_input!(P0_28, ANALOG_INPUT4);
|
||||||
impl_saadc_input!(P0_29, ANALOGINPUT5);
|
impl_saadc_input!(P0_29, ANALOG_INPUT5);
|
||||||
impl_saadc_input!(P0_30, ANALOGINPUT6);
|
impl_saadc_input!(P0_30, ANALOG_INPUT6);
|
||||||
impl_saadc_input!(P0_31, ANALOGINPUT7);
|
impl_saadc_input!(P0_31, ANALOG_INPUT7);
|
||||||
|
|
||||||
pub mod irqs {
|
pub mod irqs {
|
||||||
use embassy_cortex_m::interrupt::_export::declare;
|
use embassy_cortex_m::interrupt::_export::declare;
|
||||||
|
@ -276,14 +276,14 @@ impl_ppi_channel!(PPI_CH29, 29 => static);
|
|||||||
impl_ppi_channel!(PPI_CH30, 30 => static);
|
impl_ppi_channel!(PPI_CH30, 30 => static);
|
||||||
impl_ppi_channel!(PPI_CH31, 31 => static);
|
impl_ppi_channel!(PPI_CH31, 31 => static);
|
||||||
|
|
||||||
impl_saadc_input!(P0_02, ANALOGINPUT0);
|
impl_saadc_input!(P0_02, ANALOG_INPUT0);
|
||||||
impl_saadc_input!(P0_03, ANALOGINPUT1);
|
impl_saadc_input!(P0_03, ANALOG_INPUT1);
|
||||||
impl_saadc_input!(P0_04, ANALOGINPUT2);
|
impl_saadc_input!(P0_04, ANALOG_INPUT2);
|
||||||
impl_saadc_input!(P0_05, ANALOGINPUT3);
|
impl_saadc_input!(P0_05, ANALOG_INPUT3);
|
||||||
impl_saadc_input!(P0_28, ANALOGINPUT4);
|
impl_saadc_input!(P0_28, ANALOG_INPUT4);
|
||||||
impl_saadc_input!(P0_29, ANALOGINPUT5);
|
impl_saadc_input!(P0_29, ANALOG_INPUT5);
|
||||||
impl_saadc_input!(P0_30, ANALOGINPUT6);
|
impl_saadc_input!(P0_30, ANALOG_INPUT6);
|
||||||
impl_saadc_input!(P0_31, ANALOGINPUT7);
|
impl_saadc_input!(P0_31, ANALOG_INPUT7);
|
||||||
|
|
||||||
pub mod irqs {
|
pub mod irqs {
|
||||||
use embassy_cortex_m::interrupt::_export::declare;
|
use embassy_cortex_m::interrupt::_export::declare;
|
||||||
|
@ -458,14 +458,14 @@ impl_ppi_channel!(PPI_CH29, 29 => configurable);
|
|||||||
impl_ppi_channel!(PPI_CH30, 30 => configurable);
|
impl_ppi_channel!(PPI_CH30, 30 => configurable);
|
||||||
impl_ppi_channel!(PPI_CH31, 31 => configurable);
|
impl_ppi_channel!(PPI_CH31, 31 => configurable);
|
||||||
|
|
||||||
impl_saadc_input!(P0_13, ANALOGINPUT0);
|
impl_saadc_input!(P0_13, ANALOG_INPUT0);
|
||||||
impl_saadc_input!(P0_14, ANALOGINPUT1);
|
impl_saadc_input!(P0_14, ANALOG_INPUT1);
|
||||||
impl_saadc_input!(P0_15, ANALOGINPUT2);
|
impl_saadc_input!(P0_15, ANALOG_INPUT2);
|
||||||
impl_saadc_input!(P0_16, ANALOGINPUT3);
|
impl_saadc_input!(P0_16, ANALOG_INPUT3);
|
||||||
impl_saadc_input!(P0_17, ANALOGINPUT4);
|
impl_saadc_input!(P0_17, ANALOG_INPUT4);
|
||||||
impl_saadc_input!(P0_18, ANALOGINPUT5);
|
impl_saadc_input!(P0_18, ANALOG_INPUT5);
|
||||||
impl_saadc_input!(P0_19, ANALOGINPUT6);
|
impl_saadc_input!(P0_19, ANALOG_INPUT6);
|
||||||
impl_saadc_input!(P0_20, ANALOGINPUT7);
|
impl_saadc_input!(P0_20, ANALOG_INPUT7);
|
||||||
|
|
||||||
pub mod irqs {
|
pub mod irqs {
|
||||||
use embassy_cortex_m::interrupt::_export::declare;
|
use embassy_cortex_m::interrupt::_export::declare;
|
||||||
|
@ -339,14 +339,14 @@ impl_ppi_channel!(PPI_CH13, 13 => configurable);
|
|||||||
impl_ppi_channel!(PPI_CH14, 14 => configurable);
|
impl_ppi_channel!(PPI_CH14, 14 => configurable);
|
||||||
impl_ppi_channel!(PPI_CH15, 15 => configurable);
|
impl_ppi_channel!(PPI_CH15, 15 => configurable);
|
||||||
|
|
||||||
impl_saadc_input!(P0_13, ANALOGINPUT0);
|
impl_saadc_input!(P0_13, ANALOG_INPUT0);
|
||||||
impl_saadc_input!(P0_14, ANALOGINPUT1);
|
impl_saadc_input!(P0_14, ANALOG_INPUT1);
|
||||||
impl_saadc_input!(P0_15, ANALOGINPUT2);
|
impl_saadc_input!(P0_15, ANALOG_INPUT2);
|
||||||
impl_saadc_input!(P0_16, ANALOGINPUT3);
|
impl_saadc_input!(P0_16, ANALOG_INPUT3);
|
||||||
impl_saadc_input!(P0_17, ANALOGINPUT4);
|
impl_saadc_input!(P0_17, ANALOG_INPUT4);
|
||||||
impl_saadc_input!(P0_18, ANALOGINPUT5);
|
impl_saadc_input!(P0_18, ANALOG_INPUT5);
|
||||||
impl_saadc_input!(P0_19, ANALOGINPUT6);
|
impl_saadc_input!(P0_19, ANALOG_INPUT6);
|
||||||
impl_saadc_input!(P0_20, ANALOGINPUT7);
|
impl_saadc_input!(P0_20, ANALOG_INPUT7);
|
||||||
|
|
||||||
pub mod irqs {
|
pub mod irqs {
|
||||||
use embassy_cortex_m::interrupt::_export::declare;
|
use embassy_cortex_m::interrupt::_export::declare;
|
||||||
|
Loading…
Reference in New Issue
Block a user