docs: prevent inline doc spam for reexports.
This commit is contained in:
parent
35636953b2
commit
94b232cf88
@ -4,6 +4,7 @@ pub mod pac {
|
|||||||
// The nRF5340 has a secure and non-secure (NS) mode.
|
// The nRF5340 has a secure and non-secure (NS) mode.
|
||||||
// To avoid cfg spam, we remove _ns or _s suffixes here.
|
// To avoid cfg spam, we remove _ns or _s suffixes here.
|
||||||
|
|
||||||
|
#[doc(no_inline)]
|
||||||
pub use nrf5340_app_pac::{
|
pub use nrf5340_app_pac::{
|
||||||
interrupt,
|
interrupt,
|
||||||
Interrupt,
|
Interrupt,
|
||||||
@ -57,6 +58,7 @@ pub mod pac {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#[cfg(feature = "nrf5340-app-ns")]
|
#[cfg(feature = "nrf5340-app-ns")]
|
||||||
|
#[doc(no_inline)]
|
||||||
pub use nrf5340_app_pac::{
|
pub use nrf5340_app_pac::{
|
||||||
CLOCK_NS as CLOCK,
|
CLOCK_NS as CLOCK,
|
||||||
COMP_NS as COMP,
|
COMP_NS as COMP,
|
||||||
@ -127,6 +129,7 @@ pub mod pac {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#[cfg(feature = "nrf5340-app-s")]
|
#[cfg(feature = "nrf5340-app-s")]
|
||||||
|
#[doc(no_inline)]
|
||||||
pub use nrf5340_app_pac::{
|
pub use nrf5340_app_pac::{
|
||||||
CACHEDATA_S as CACHEDATA,
|
CACHEDATA_S as CACHEDATA,
|
||||||
CACHEINFO_S as CACHEINFO,
|
CACHEINFO_S as CACHEINFO,
|
||||||
|
@ -4,6 +4,7 @@ pub mod pac {
|
|||||||
// The nRF5340 has a secure and non-secure (NS) mode.
|
// The nRF5340 has a secure and non-secure (NS) mode.
|
||||||
// To avoid cfg spam, we remove _ns or _s suffixes here.
|
// To avoid cfg spam, we remove _ns or _s suffixes here.
|
||||||
|
|
||||||
|
#[doc(no_inline)]
|
||||||
pub use nrf5340_net_pac::{
|
pub use nrf5340_net_pac::{
|
||||||
interrupt,
|
interrupt,
|
||||||
Interrupt,
|
Interrupt,
|
||||||
|
@ -4,6 +4,7 @@ pub mod pac {
|
|||||||
// The nRF9160 has a secure and non-secure (NS) mode.
|
// The nRF9160 has a secure and non-secure (NS) mode.
|
||||||
// To avoid cfg spam, we remove _ns or _s suffixes here.
|
// To avoid cfg spam, we remove _ns or _s suffixes here.
|
||||||
|
|
||||||
|
#[doc(no_inline)]
|
||||||
pub use nrf9160_pac::{
|
pub use nrf9160_pac::{
|
||||||
interrupt,
|
interrupt,
|
||||||
Interrupt,
|
Interrupt,
|
||||||
@ -42,6 +43,7 @@ pub mod pac {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#[cfg(feature = "nrf9160-ns")]
|
#[cfg(feature = "nrf9160-ns")]
|
||||||
|
#[doc(no_inline)]
|
||||||
pub use nrf9160_pac::{
|
pub use nrf9160_pac::{
|
||||||
CLOCK_NS as CLOCK,
|
CLOCK_NS as CLOCK,
|
||||||
DPPIC_NS as DPPIC,
|
DPPIC_NS as DPPIC,
|
||||||
@ -96,6 +98,7 @@ pub mod pac {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#[cfg(feature = "nrf9160-s")]
|
#[cfg(feature = "nrf9160-s")]
|
||||||
|
#[doc(no_inline)]
|
||||||
pub use nrf9160_pac::{
|
pub use nrf9160_pac::{
|
||||||
CC_HOST_RGF_S as CC_HOST_RGF,
|
CC_HOST_RGF_S as CC_HOST_RGF,
|
||||||
CLOCK_S as CLOCK,
|
CLOCK_S as CLOCK,
|
||||||
|
@ -7,6 +7,7 @@ use embassy_hal_common::unborrow;
|
|||||||
use crate::gpio::sealed::AFType;
|
use crate::gpio::sealed::AFType;
|
||||||
use crate::{peripherals, rcc::RccPeripheral};
|
use crate::{peripherals, rcc::RccPeripheral};
|
||||||
|
|
||||||
|
#[doc(no_inline)]
|
||||||
pub use bxcan::*;
|
pub use bxcan::*;
|
||||||
|
|
||||||
pub struct Can<'d, T: Instance + bxcan::Instance> {
|
pub struct Can<'d, T: Instance + bxcan::Instance> {
|
||||||
|
Loading…
Reference in New Issue
Block a user