#[doc = "Register `BRDYENB` reader"]
pub struct R(crate::R<BRDYENB_SPEC>);
impl core::ops::Deref for R {
type Target = crate::R<BRDYENB_SPEC>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl From<crate::R<BRDYENB_SPEC>> for R {
#[inline(always)]
fn from(reader: crate::R<BRDYENB_SPEC>) -> Self {
R(reader)
}
}
#[doc = "Register `BRDYENB` writer"]
pub struct W(crate::W<BRDYENB_SPEC>);
impl core::ops::Deref for W {
type Target = crate::W<BRDYENB_SPEC>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl core::ops::DerefMut for W {
#[inline(always)]
fn deref_mut(&mut self) -> &mut Self::Target {
&mut self.0
}
}
impl From<crate::W<BRDYENB_SPEC>> for W {
#[inline(always)]
fn from(writer: crate::W<BRDYENB_SPEC>) -> Self {
W(writer)
}
}
#[doc = "Field `PIPE0BRDYE` reader - BRDY Interrupt Enable for PIPE0"]
pub type PIPE0BRDYE_R = crate::BitReader<PIPE0BRDYE_A>;
#[doc = "BRDY Interrupt Enable for PIPE0\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum PIPE0BRDYE_A {
#[doc = "0: Interrupt output disabled"]
_0 = 0,
#[doc = "1: Interrupt output enabled"]
_1 = 1,
}
impl From<PIPE0BRDYE_A> for bool {
#[inline(always)]
fn from(variant: PIPE0BRDYE_A) -> Self {
variant as u8 != 0
}
}
impl PIPE0BRDYE_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> PIPE0BRDYE_A {
match self.bits {
false => PIPE0BRDYE_A::_0,
true => PIPE0BRDYE_A::_1,
}
}
#[doc = "Checks if the value of the field is `_0`"]
#[inline(always)]
pub fn is_0(&self) -> bool {
*self == PIPE0BRDYE_A::_0
}
#[doc = "Checks if the value of the field is `_1`"]
#[inline(always)]
pub fn is_1(&self) -> bool {
*self == PIPE0BRDYE_A::_1
}
}
#[doc = "Field `PIPE0BRDYE` writer - BRDY Interrupt Enable for PIPE0"]
pub type PIPE0BRDYE_W<'a, const O: u8> = crate::BitWriter<'a, u16, BRDYENB_SPEC, PIPE0BRDYE_A, O>;
impl<'a, const O: u8> PIPE0BRDYE_W<'a, O> {
#[doc = "Interrupt output disabled"]
#[inline(always)]
pub fn _0(self) -> &'a mut W {
self.variant(PIPE0BRDYE_A::_0)
}
#[doc = "Interrupt output enabled"]
#[inline(always)]
pub fn _1(self) -> &'a mut W {
self.variant(PIPE0BRDYE_A::_1)
}
}
#[doc = "Field `PIPE1BRDYE` reader - BRDY Interrupt Enable for PIPE1"]
pub type PIPE1BRDYE_R = crate::BitReader<PIPE1BRDYE_A>;
#[doc = "BRDY Interrupt Enable for PIPE1\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum PIPE1BRDYE_A {
#[doc = "0: Interrupt output disabled"]
_0 = 0,
#[doc = "1: Interrupt output enabled"]
_1 = 1,
}
impl From<PIPE1BRDYE_A> for bool {
#[inline(always)]
fn from(variant: PIPE1BRDYE_A) -> Self {
variant as u8 != 0
}
}
impl PIPE1BRDYE_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> PIPE1BRDYE_A {
match self.bits {
false => PIPE1BRDYE_A::_0,
true => PIPE1BRDYE_A::_1,
}
}
#[doc = "Checks if the value of the field is `_0`"]
#[inline(always)]
pub fn is_0(&self) -> bool {
*self == PIPE1BRDYE_A::_0
}
#[doc = "Checks if the value of the field is `_1`"]
#[inline(always)]
pub fn is_1(&self) -> bool {
*self == PIPE1BRDYE_A::_1
}
}
#[doc = "Field `PIPE1BRDYE` writer - BRDY Interrupt Enable for PIPE1"]
pub type PIPE1BRDYE_W<'a, const O: u8> = crate::BitWriter<'a, u16, BRDYENB_SPEC, PIPE1BRDYE_A, O>;
impl<'a, const O: u8> PIPE1BRDYE_W<'a, O> {
#[doc = "Interrupt output disabled"]
#[inline(always)]
pub fn _0(self) -> &'a mut W {
self.variant(PIPE1BRDYE_A::_0)
}
#[doc = "Interrupt output enabled"]
#[inline(always)]
pub fn _1(self) -> &'a mut W {
self.variant(PIPE1BRDYE_A::_1)
}
}
#[doc = "Field `PIPE2BRDYE` reader - BRDY Interrupt Enable for PIPE2"]
pub type PIPE2BRDYE_R = crate::BitReader<PIPE2BRDYE_A>;
#[doc = "BRDY Interrupt Enable for PIPE2\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum PIPE2BRDYE_A {
#[doc = "0: Interrupt output disabled"]
_0 = 0,
#[doc = "1: Interrupt output enabled"]
_1 = 1,
}
impl From<PIPE2BRDYE_A> for bool {
#[inline(always)]
fn from(variant: PIPE2BRDYE_A) -> Self {
variant as u8 != 0
}
}
impl PIPE2BRDYE_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> PIPE2BRDYE_A {
match self.bits {
false => PIPE2BRDYE_A::_0,
true => PIPE2BRDYE_A::_1,
}
}
#[doc = "Checks if the value of the field is `_0`"]
#[inline(always)]
pub fn is_0(&self) -> bool {
*self == PIPE2BRDYE_A::_0
}
#[doc = "Checks if the value of the field is `_1`"]
#[inline(always)]
pub fn is_1(&self) -> bool {
*self == PIPE2BRDYE_A::_1
}
}
#[doc = "Field `PIPE2BRDYE` writer - BRDY Interrupt Enable for PIPE2"]
pub type PIPE2BRDYE_W<'a, const O: u8> = crate::BitWriter<'a, u16, BRDYENB_SPEC, PIPE2BRDYE_A, O>;
impl<'a, const O: u8> PIPE2BRDYE_W<'a, O> {
#[doc = "Interrupt output disabled"]
#[inline(always)]
pub fn _0(self) -> &'a mut W {
self.variant(PIPE2BRDYE_A::_0)
}
#[doc = "Interrupt output enabled"]
#[inline(always)]
pub fn _1(self) -> &'a mut W {
self.variant(PIPE2BRDYE_A::_1)
}
}
#[doc = "Field `PIPE3BRDYE` reader - BRDY Interrupt Enable for PIPE3"]
pub type PIPE3BRDYE_R = crate::BitReader<PIPE3BRDYE_A>;
#[doc = "BRDY Interrupt Enable for PIPE3\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum PIPE3BRDYE_A {
#[doc = "0: Interrupt output disabled"]
_0 = 0,
#[doc = "1: Interrupt output enabled"]
_1 = 1,
}
impl From<PIPE3BRDYE_A> for bool {
#[inline(always)]
fn from(variant: PIPE3BRDYE_A) -> Self {
variant as u8 != 0
}
}
impl PIPE3BRDYE_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> PIPE3BRDYE_A {
match self.bits {
false => PIPE3BRDYE_A::_0,
true => PIPE3BRDYE_A::_1,
}
}
#[doc = "Checks if the value of the field is `_0`"]
#[inline(always)]
pub fn is_0(&self) -> bool {
*self == PIPE3BRDYE_A::_0
}
#[doc = "Checks if the value of the field is `_1`"]
#[inline(always)]
pub fn is_1(&self) -> bool {
*self == PIPE3BRDYE_A::_1
}
}
#[doc = "Field `PIPE3BRDYE` writer - BRDY Interrupt Enable for PIPE3"]
pub type PIPE3BRDYE_W<'a, const O: u8> = crate::BitWriter<'a, u16, BRDYENB_SPEC, PIPE3BRDYE_A, O>;
impl<'a, const O: u8> PIPE3BRDYE_W<'a, O> {
#[doc = "Interrupt output disabled"]
#[inline(always)]
pub fn _0(self) -> &'a mut W {
self.variant(PIPE3BRDYE_A::_0)
}
#[doc = "Interrupt output enabled"]
#[inline(always)]
pub fn _1(self) -> &'a mut W {
self.variant(PIPE3BRDYE_A::_1)
}
}
#[doc = "Field `PIPE4BRDYE` reader - BRDY Interrupt Enable for PIPE4"]
pub type PIPE4BRDYE_R = crate::BitReader<PIPE4BRDYE_A>;
#[doc = "BRDY Interrupt Enable for PIPE4\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum PIPE4BRDYE_A {
#[doc = "0: Interrupt output disabled"]
_0 = 0,
#[doc = "1: Interrupt output enabled"]
_1 = 1,
}
impl From<PIPE4BRDYE_A> for bool {
#[inline(always)]
fn from(variant: PIPE4BRDYE_A) -> Self {
variant as u8 != 0
}
}
impl PIPE4BRDYE_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> PIPE4BRDYE_A {
match self.bits {
false => PIPE4BRDYE_A::_0,
true => PIPE4BRDYE_A::_1,
}
}
#[doc = "Checks if the value of the field is `_0`"]
#[inline(always)]
pub fn is_0(&self) -> bool {
*self == PIPE4BRDYE_A::_0
}
#[doc = "Checks if the value of the field is `_1`"]
#[inline(always)]
pub fn is_1(&self) -> bool {
*self == PIPE4BRDYE_A::_1
}
}
#[doc = "Field `PIPE4BRDYE` writer - BRDY Interrupt Enable for PIPE4"]
pub type PIPE4BRDYE_W<'a, const O: u8> = crate::BitWriter<'a, u16, BRDYENB_SPEC, PIPE4BRDYE_A, O>;
impl<'a, const O: u8> PIPE4BRDYE_W<'a, O> {
#[doc = "Interrupt output disabled"]
#[inline(always)]
pub fn _0(self) -> &'a mut W {
self.variant(PIPE4BRDYE_A::_0)
}
#[doc = "Interrupt output enabled"]
#[inline(always)]
pub fn _1(self) -> &'a mut W {
self.variant(PIPE4BRDYE_A::_1)
}
}
#[doc = "Field `PIPE5BRDYE` reader - BRDY Interrupt Enable for PIPE5"]
pub type PIPE5BRDYE_R = crate::BitReader<PIPE5BRDYE_A>;
#[doc = "BRDY Interrupt Enable for PIPE5\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum PIPE5BRDYE_A {
#[doc = "0: Interrupt output disabled"]
_0 = 0,
#[doc = "1: Interrupt output enabled"]
_1 = 1,
}
impl From<PIPE5BRDYE_A> for bool {
#[inline(always)]
fn from(variant: PIPE5BRDYE_A) -> Self {
variant as u8 != 0
}
}
impl PIPE5BRDYE_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> PIPE5BRDYE_A {
match self.bits {
false => PIPE5BRDYE_A::_0,
true => PIPE5BRDYE_A::_1,
}
}
#[doc = "Checks if the value of the field is `_0`"]
#[inline(always)]
pub fn is_0(&self) -> bool {
*self == PIPE5BRDYE_A::_0
}
#[doc = "Checks if the value of the field is `_1`"]
#[inline(always)]
pub fn is_1(&self) -> bool {
*self == PIPE5BRDYE_A::_1
}
}
#[doc = "Field `PIPE5BRDYE` writer - BRDY Interrupt Enable for PIPE5"]
pub type PIPE5BRDYE_W<'a, const O: u8> = crate::BitWriter<'a, u16, BRDYENB_SPEC, PIPE5BRDYE_A, O>;
impl<'a, const O: u8> PIPE5BRDYE_W<'a, O> {
#[doc = "Interrupt output disabled"]
#[inline(always)]
pub fn _0(self) -> &'a mut W {
self.variant(PIPE5BRDYE_A::_0)
}
#[doc = "Interrupt output enabled"]
#[inline(always)]
pub fn _1(self) -> &'a mut W {
self.variant(PIPE5BRDYE_A::_1)
}
}
#[doc = "Field `PIPE6BRDYE` reader - BRDY Interrupt Enable for PIPE6"]
pub type PIPE6BRDYE_R = crate::BitReader<PIPE6BRDYE_A>;
#[doc = "BRDY Interrupt Enable for PIPE6\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum PIPE6BRDYE_A {
#[doc = "0: Interrupt output disabled"]
_0 = 0,
#[doc = "1: Interrupt output enabled"]
_1 = 1,
}
impl From<PIPE6BRDYE_A> for bool {
#[inline(always)]
fn from(variant: PIPE6BRDYE_A) -> Self {
variant as u8 != 0
}
}
impl PIPE6BRDYE_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> PIPE6BRDYE_A {
match self.bits {
false => PIPE6BRDYE_A::_0,
true => PIPE6BRDYE_A::_1,
}
}
#[doc = "Checks if the value of the field is `_0`"]
#[inline(always)]
pub fn is_0(&self) -> bool {
*self == PIPE6BRDYE_A::_0
}
#[doc = "Checks if the value of the field is `_1`"]
#[inline(always)]
pub fn is_1(&self) -> bool {
*self == PIPE6BRDYE_A::_1
}
}
#[doc = "Field `PIPE6BRDYE` writer - BRDY Interrupt Enable for PIPE6"]
pub type PIPE6BRDYE_W<'a, const O: u8> = crate::BitWriter<'a, u16, BRDYENB_SPEC, PIPE6BRDYE_A, O>;
impl<'a, const O: u8> PIPE6BRDYE_W<'a, O> {
#[doc = "Interrupt output disabled"]
#[inline(always)]
pub fn _0(self) -> &'a mut W {
self.variant(PIPE6BRDYE_A::_0)
}
#[doc = "Interrupt output enabled"]
#[inline(always)]
pub fn _1(self) -> &'a mut W {
self.variant(PIPE6BRDYE_A::_1)
}
}
#[doc = "Field `PIPE7BRDYE` reader - BRDY Interrupt Enable for PIPE7"]
pub type PIPE7BRDYE_R = crate::BitReader<PIPE7BRDYE_A>;
#[doc = "BRDY Interrupt Enable for PIPE7\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum PIPE7BRDYE_A {
#[doc = "0: Interrupt output disabled"]
_0 = 0,
#[doc = "1: Interrupt output enabled"]
_1 = 1,
}
impl From<PIPE7BRDYE_A> for bool {
#[inline(always)]
fn from(variant: PIPE7BRDYE_A) -> Self {
variant as u8 != 0
}
}
impl PIPE7BRDYE_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> PIPE7BRDYE_A {
match self.bits {
false => PIPE7BRDYE_A::_0,
true => PIPE7BRDYE_A::_1,
}
}
#[doc = "Checks if the value of the field is `_0`"]
#[inline(always)]
pub fn is_0(&self) -> bool {
*self == PIPE7BRDYE_A::_0
}
#[doc = "Checks if the value of the field is `_1`"]
#[inline(always)]
pub fn is_1(&self) -> bool {
*self == PIPE7BRDYE_A::_1
}
}
#[doc = "Field `PIPE7BRDYE` writer - BRDY Interrupt Enable for PIPE7"]
pub type PIPE7BRDYE_W<'a, const O: u8> = crate::BitWriter<'a, u16, BRDYENB_SPEC, PIPE7BRDYE_A, O>;
impl<'a, const O: u8> PIPE7BRDYE_W<'a, O> {
#[doc = "Interrupt output disabled"]
#[inline(always)]
pub fn _0(self) -> &'a mut W {
self.variant(PIPE7BRDYE_A::_0)
}
#[doc = "Interrupt output enabled"]
#[inline(always)]
pub fn _1(self) -> &'a mut W {
self.variant(PIPE7BRDYE_A::_1)
}
}
#[doc = "Field `PIPE8BRDYE` reader - BRDY Interrupt Enable for PIPE8"]
pub type PIPE8BRDYE_R = crate::BitReader<PIPE8BRDYE_A>;
#[doc = "BRDY Interrupt Enable for PIPE8\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum PIPE8BRDYE_A {
#[doc = "0: Interrupt output disabled"]
_0 = 0,
#[doc = "1: Interrupt output enabled"]
_1 = 1,
}
impl From<PIPE8BRDYE_A> for bool {
#[inline(always)]
fn from(variant: PIPE8BRDYE_A) -> Self {
variant as u8 != 0
}
}
impl PIPE8BRDYE_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> PIPE8BRDYE_A {
match self.bits {
false => PIPE8BRDYE_A::_0,
true => PIPE8BRDYE_A::_1,
}
}
#[doc = "Checks if the value of the field is `_0`"]
#[inline(always)]
pub fn is_0(&self) -> bool {
*self == PIPE8BRDYE_A::_0
}
#[doc = "Checks if the value of the field is `_1`"]
#[inline(always)]
pub fn is_1(&self) -> bool {
*self == PIPE8BRDYE_A::_1
}
}
#[doc = "Field `PIPE8BRDYE` writer - BRDY Interrupt Enable for PIPE8"]
pub type PIPE8BRDYE_W<'a, const O: u8> = crate::BitWriter<'a, u16, BRDYENB_SPEC, PIPE8BRDYE_A, O>;
impl<'a, const O: u8> PIPE8BRDYE_W<'a, O> {
#[doc = "Interrupt output disabled"]
#[inline(always)]
pub fn _0(self) -> &'a mut W {
self.variant(PIPE8BRDYE_A::_0)
}
#[doc = "Interrupt output enabled"]
#[inline(always)]
pub fn _1(self) -> &'a mut W {
self.variant(PIPE8BRDYE_A::_1)
}
}
#[doc = "Field `PIPE9BRDYE` reader - BRDY Interrupt Enable for PIPE9"]
pub type PIPE9BRDYE_R = crate::BitReader<PIPE9BRDYE_A>;
#[doc = "BRDY Interrupt Enable for PIPE9\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum PIPE9BRDYE_A {
#[doc = "0: Interrupt output disabled"]
_0 = 0,
#[doc = "1: Interrupt output enabled"]
_1 = 1,
}
impl From<PIPE9BRDYE_A> for bool {
#[inline(always)]
fn from(variant: PIPE9BRDYE_A) -> Self {
variant as u8 != 0
}
}
impl PIPE9BRDYE_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> PIPE9BRDYE_A {
match self.bits {
false => PIPE9BRDYE_A::_0,
true => PIPE9BRDYE_A::_1,
}
}
#[doc = "Checks if the value of the field is `_0`"]
#[inline(always)]
pub fn is_0(&self) -> bool {
*self == PIPE9BRDYE_A::_0
}
#[doc = "Checks if the value of the field is `_1`"]
#[inline(always)]
pub fn is_1(&self) -> bool {
*self == PIPE9BRDYE_A::_1
}
}
#[doc = "Field `PIPE9BRDYE` writer - BRDY Interrupt Enable for PIPE9"]
pub type PIPE9BRDYE_W<'a, const O: u8> = crate::BitWriter<'a, u16, BRDYENB_SPEC, PIPE9BRDYE_A, O>;
impl<'a, const O: u8> PIPE9BRDYE_W<'a, O> {
#[doc = "Interrupt output disabled"]
#[inline(always)]
pub fn _0(self) -> &'a mut W {
self.variant(PIPE9BRDYE_A::_0)
}
#[doc = "Interrupt output enabled"]
#[inline(always)]
pub fn _1(self) -> &'a mut W {
self.variant(PIPE9BRDYE_A::_1)
}
}
impl R {
#[doc = "Bit 0 - BRDY Interrupt Enable for PIPE0"]
#[inline(always)]
pub fn pipe0brdye(&self) -> PIPE0BRDYE_R {
PIPE0BRDYE_R::new((self.bits & 1) != 0)
}
#[doc = "Bit 1 - BRDY Interrupt Enable for PIPE1"]
#[inline(always)]
pub fn pipe1brdye(&self) -> PIPE1BRDYE_R {
PIPE1BRDYE_R::new(((self.bits >> 1) & 1) != 0)
}
#[doc = "Bit 2 - BRDY Interrupt Enable for PIPE2"]
#[inline(always)]
pub fn pipe2brdye(&self) -> PIPE2BRDYE_R {
PIPE2BRDYE_R::new(((self.bits >> 2) & 1) != 0)
}
#[doc = "Bit 3 - BRDY Interrupt Enable for PIPE3"]
#[inline(always)]
pub fn pipe3brdye(&self) -> PIPE3BRDYE_R {
PIPE3BRDYE_R::new(((self.bits >> 3) & 1) != 0)
}
#[doc = "Bit 4 - BRDY Interrupt Enable for PIPE4"]
#[inline(always)]
pub fn pipe4brdye(&self) -> PIPE4BRDYE_R {
PIPE4BRDYE_R::new(((self.bits >> 4) & 1) != 0)
}
#[doc = "Bit 5 - BRDY Interrupt Enable for PIPE5"]
#[inline(always)]
pub fn pipe5brdye(&self) -> PIPE5BRDYE_R {
PIPE5BRDYE_R::new(((self.bits >> 5) & 1) != 0)
}
#[doc = "Bit 6 - BRDY Interrupt Enable for PIPE6"]
#[inline(always)]
pub fn pipe6brdye(&self) -> PIPE6BRDYE_R {
PIPE6BRDYE_R::new(((self.bits >> 6) & 1) != 0)
}
#[doc = "Bit 7 - BRDY Interrupt Enable for PIPE7"]
#[inline(always)]
pub fn pipe7brdye(&self) -> PIPE7BRDYE_R {
PIPE7BRDYE_R::new(((self.bits >> 7) & 1) != 0)
}
#[doc = "Bit 8 - BRDY Interrupt Enable for PIPE8"]
#[inline(always)]
pub fn pipe8brdye(&self) -> PIPE8BRDYE_R {
PIPE8BRDYE_R::new(((self.bits >> 8) & 1) != 0)
}
#[doc = "Bit 9 - BRDY Interrupt Enable for PIPE9"]
#[inline(always)]
pub fn pipe9brdye(&self) -> PIPE9BRDYE_R {
PIPE9BRDYE_R::new(((self.bits >> 9) & 1) != 0)
}
}
impl W {
#[doc = "Bit 0 - BRDY Interrupt Enable for PIPE0"]
#[inline(always)]
#[must_use]
pub fn pipe0brdye(&mut self) -> PIPE0BRDYE_W<0> {
PIPE0BRDYE_W::new(self)
}
#[doc = "Bit 1 - BRDY Interrupt Enable for PIPE1"]
#[inline(always)]
#[must_use]
pub fn pipe1brdye(&mut self) -> PIPE1BRDYE_W<1> {
PIPE1BRDYE_W::new(self)
}
#[doc = "Bit 2 - BRDY Interrupt Enable for PIPE2"]
#[inline(always)]
#[must_use]
pub fn pipe2brdye(&mut self) -> PIPE2BRDYE_W<2> {
PIPE2BRDYE_W::new(self)
}
#[doc = "Bit 3 - BRDY Interrupt Enable for PIPE3"]
#[inline(always)]
#[must_use]
pub fn pipe3brdye(&mut self) -> PIPE3BRDYE_W<3> {
PIPE3BRDYE_W::new(self)
}
#[doc = "Bit 4 - BRDY Interrupt Enable for PIPE4"]
#[inline(always)]
#[must_use]
pub fn pipe4brdye(&mut self) -> PIPE4BRDYE_W<4> {
PIPE4BRDYE_W::new(self)
}
#[doc = "Bit 5 - BRDY Interrupt Enable for PIPE5"]
#[inline(always)]
#[must_use]
pub fn pipe5brdye(&mut self) -> PIPE5BRDYE_W<5> {
PIPE5BRDYE_W::new(self)
}
#[doc = "Bit 6 - BRDY Interrupt Enable for PIPE6"]
#[inline(always)]
#[must_use]
pub fn pipe6brdye(&mut self) -> PIPE6BRDYE_W<6> {
PIPE6BRDYE_W::new(self)
}
#[doc = "Bit 7 - BRDY Interrupt Enable for PIPE7"]
#[inline(always)]
#[must_use]
pub fn pipe7brdye(&mut self) -> PIPE7BRDYE_W<7> {
PIPE7BRDYE_W::new(self)
}
#[doc = "Bit 8 - BRDY Interrupt Enable for PIPE8"]
#[inline(always)]
#[must_use]
pub fn pipe8brdye(&mut self) -> PIPE8BRDYE_W<8> {
PIPE8BRDYE_W::new(self)
}
#[doc = "Bit 9 - BRDY Interrupt Enable for PIPE9"]
#[inline(always)]
#[must_use]
pub fn pipe9brdye(&mut self) -> PIPE9BRDYE_W<9> {
PIPE9BRDYE_W::new(self)
}
#[doc = "Writes raw bits to the register."]
#[inline(always)]
pub unsafe fn bits(&mut self, bits: u16) -> &mut Self {
self.0.bits(bits);
self
}
}
#[doc = "BRDY Interrupt Enable Register\n\nThis register you can [`read`](crate::generic::Reg::read), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [brdyenb](index.html) module"]
pub struct BRDYENB_SPEC;
impl crate::RegisterSpec for BRDYENB_SPEC {
type Ux = u16;
}
#[doc = "`read()` method returns [brdyenb::R](R) reader structure"]
impl crate::Readable for BRDYENB_SPEC {
type Reader = R;
}
#[doc = "`write(|w| ..)` method takes [brdyenb::W](W) writer structure"]
impl crate::Writable for BRDYENB_SPEC {
type Writer = W;
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
}
#[doc = "`reset()` method sets BRDYENB to value 0"]
impl crate::Resettable for BRDYENB_SPEC {
const RESET_VALUE: Self::Ux = 0;
}