Type Definition lpc81x_pac::BitWriter
source · pub type BitWriter<'a, U, REG, FI, const O: u8> = BitWriterRaw<'a, U, REG, FI, BitM, O>;
Expand description
Bit-wise write field proxy
Implementations§
source§impl<'a, U, REG, FI, const OF: u8> BitWriter<'a, U, REG, FI, OF>where
REG: Writable + RegisterSpec<Ux = U>,
FI: Into<bool>,
impl<'a, U, REG, FI, const OF: u8> BitWriter<'a, U, REG, FI, OF>where
REG: Writable + RegisterSpec<Ux = U>,
FI: Into<bool>,
source§impl<'a, REG, FI, const OF: u8> BitWriter<'a, u8, REG, FI, OF>where
REG: Writable + RegisterSpec<Ux = u8>,
FI: Into<bool>,
impl<'a, REG, FI, const OF: u8> BitWriter<'a, u8, REG, FI, OF>where
REG: Writable + RegisterSpec<Ux = u8>,
FI: Into<bool>,
source§impl<'a, REG, FI, const OF: u8> BitWriter<'a, u8, REG, FI, OF>where
REG: Writable + RegisterSpec<Ux = u8>,
FI: Into<bool>,
impl<'a, REG, FI, const OF: u8> BitWriter<'a, u8, REG, FI, OF>where
REG: Writable + RegisterSpec<Ux = u8>,
FI: Into<bool>,
source§impl<'a, REG, FI, const OF: u8> BitWriter<'a, u32, REG, FI, OF>where
REG: Writable + RegisterSpec<Ux = u32>,
FI: Into<bool>,
impl<'a, REG, FI, const OF: u8> BitWriter<'a, u32, REG, FI, OF>where
REG: Writable + RegisterSpec<Ux = u32>,
FI: Into<bool>,
sourcepub fn variant(self, variant: FI) -> &'a mut REG::Writer
pub fn variant(self, variant: FI) -> &'a mut REG::Writer
Writes variant
to the field
Examples found in repository?
src/lpc810/sct0/ctrl.rs (line 95)
94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171
pub fn up(self) -> &'a mut W {
self.variant(BIDIR_L_A::UP)
}
#[doc = "Up-down. The counter counts up to a limit, then counts down to a limit condition or to 0."]
#[inline(always)]
pub fn up_down(self) -> &'a mut W {
self.variant(BIDIR_L_A::UP_DOWN)
}
}
#[doc = "Field `PRE_L` reader - Specifies the factor by which the SCT clock is prescaled to produce the L or unified counter clock. The counter clock is clocked at the rate of the SCT clock divided by PRE_L+1. Clear the counter (by writing a 1 to the CLRCTR bit) whenever changing the PRE value."]
pub type PRE_L_R = crate::FieldReader<u8, u8>;
#[doc = "Field `PRE_L` writer - Specifies the factor by which the SCT clock is prescaled to produce the L or unified counter clock. The counter clock is clocked at the rate of the SCT clock divided by PRE_L+1. Clear the counter (by writing a 1 to the CLRCTR bit) whenever changing the PRE value."]
pub type PRE_L_W<'a, const O: u8> = crate::FieldWriter<'a, u32, CTRL_SPEC, u8, u8, 8, O>;
#[doc = "Field `DOWN_H` reader - This bit is 1 when the H counter is counting down. Hardware sets this bit when the counter is counting, a counter limit condition occurs, and BIDIR is 1. Hardware clears this bit when the counter is counting down and a limit condition occurs or when the counter reaches 0."]
pub type DOWN_H_R = crate::BitReader<bool>;
#[doc = "Field `DOWN_H` writer - This bit is 1 when the H counter is counting down. Hardware sets this bit when the counter is counting, a counter limit condition occurs, and BIDIR is 1. Hardware clears this bit when the counter is counting down and a limit condition occurs or when the counter reaches 0."]
pub type DOWN_H_W<'a, const O: u8> = crate::BitWriter<'a, u32, CTRL_SPEC, bool, O>;
#[doc = "Field `STOP_H` reader - When this bit is 1 and HALT is 0, the H counter does not, run but I/O events related to the counter can occur. If such an event matches the mask in the Start register, this bit is cleared and counting resumes."]
pub type STOP_H_R = crate::BitReader<bool>;
#[doc = "Field `STOP_H` writer - When this bit is 1 and HALT is 0, the H counter does not, run but I/O events related to the counter can occur. If such an event matches the mask in the Start register, this bit is cleared and counting resumes."]
pub type STOP_H_W<'a, const O: u8> = crate::BitWriter<'a, u32, CTRL_SPEC, bool, O>;
#[doc = "Field `HALT_H` reader - When this bit is 1, the H counter does not run and no events can occur. A reset sets this bit. When the HALT_H bit is one, the STOP_H bit is cleared. It is possible to remove the halt condition while keeping the SCT in the stop condition (not running) with a single write to this register to simultaneously clear the HALT bit and set the STOP bit. Once set, this bit can only be cleared by software to restore counter operation. This bit is set on reset."]
pub type HALT_H_R = crate::BitReader<bool>;
#[doc = "Field `HALT_H` writer - When this bit is 1, the H counter does not run and no events can occur. A reset sets this bit. When the HALT_H bit is one, the STOP_H bit is cleared. It is possible to remove the halt condition while keeping the SCT in the stop condition (not running) with a single write to this register to simultaneously clear the HALT bit and set the STOP bit. Once set, this bit can only be cleared by software to restore counter operation. This bit is set on reset."]
pub type HALT_H_W<'a, const O: u8> = crate::BitWriter<'a, u32, CTRL_SPEC, bool, O>;
#[doc = "Field `CLRCTR_H` reader - Writing a 1 to this bit clears the H counter. This bit always reads as 0."]
pub type CLRCTR_H_R = crate::BitReader<bool>;
#[doc = "Field `CLRCTR_H` writer - Writing a 1 to this bit clears the H counter. This bit always reads as 0."]
pub type CLRCTR_H_W<'a, const O: u8> = crate::BitWriter<'a, u32, CTRL_SPEC, bool, O>;
#[doc = "Field `BIDIR_H` reader - Direction select"]
pub type BIDIR_H_R = crate::BitReader<BIDIR_H_A>;
#[doc = "Direction select\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum BIDIR_H_A {
#[doc = "0: The H counter counts up to its limit condition, then is cleared to zero."]
UP = 0,
#[doc = "1: The H counter counts up to its limit, then counts down to a limit condition or to 0."]
UP_DOWN = 1,
}
impl From<BIDIR_H_A> for bool {
#[inline(always)]
fn from(variant: BIDIR_H_A) -> Self {
variant as u8 != 0
}
}
impl BIDIR_H_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> BIDIR_H_A {
match self.bits {
false => BIDIR_H_A::UP,
true => BIDIR_H_A::UP_DOWN,
}
}
#[doc = "Checks if the value of the field is `UP`"]
#[inline(always)]
pub fn is_up(&self) -> bool {
*self == BIDIR_H_A::UP
}
#[doc = "Checks if the value of the field is `UP_DOWN`"]
#[inline(always)]
pub fn is_up_down(&self) -> bool {
*self == BIDIR_H_A::UP_DOWN
}
}
#[doc = "Field `BIDIR_H` writer - Direction select"]
pub type BIDIR_H_W<'a, const O: u8> = crate::BitWriter<'a, u32, CTRL_SPEC, BIDIR_H_A, O>;
impl<'a, const O: u8> BIDIR_H_W<'a, O> {
#[doc = "The H counter counts up to its limit condition, then is cleared to zero."]
#[inline(always)]
pub fn up(self) -> &'a mut W {
self.variant(BIDIR_H_A::UP)
}
#[doc = "The H counter counts up to its limit, then counts down to a limit condition or to 0."]
#[inline(always)]
pub fn up_down(self) -> &'a mut W {
self.variant(BIDIR_H_A::UP_DOWN)
}
More examples
src/lpc811/sct0/ctrl.rs (line 95)
94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171
pub fn up(self) -> &'a mut W {
self.variant(BIDIR_L_A::UP)
}
#[doc = "Up-down. The counter counts up to a limit, then counts down to a limit condition or to 0."]
#[inline(always)]
pub fn up_down(self) -> &'a mut W {
self.variant(BIDIR_L_A::UP_DOWN)
}
}
#[doc = "Field `PRE_L` reader - Specifies the factor by which the SCT clock is prescaled to produce the L or unified counter clock. The counter clock is clocked at the rate of the SCT clock divided by PRE_L+1. Clear the counter (by writing a 1 to the CLRCTR bit) whenever changing the PRE value."]
pub type PRE_L_R = crate::FieldReader<u8, u8>;
#[doc = "Field `PRE_L` writer - Specifies the factor by which the SCT clock is prescaled to produce the L or unified counter clock. The counter clock is clocked at the rate of the SCT clock divided by PRE_L+1. Clear the counter (by writing a 1 to the CLRCTR bit) whenever changing the PRE value."]
pub type PRE_L_W<'a, const O: u8> = crate::FieldWriter<'a, u32, CTRL_SPEC, u8, u8, 8, O>;
#[doc = "Field `DOWN_H` reader - This bit is 1 when the H counter is counting down. Hardware sets this bit when the counter is counting, a counter limit condition occurs, and BIDIR is 1. Hardware clears this bit when the counter is counting down and a limit condition occurs or when the counter reaches 0."]
pub type DOWN_H_R = crate::BitReader<bool>;
#[doc = "Field `DOWN_H` writer - This bit is 1 when the H counter is counting down. Hardware sets this bit when the counter is counting, a counter limit condition occurs, and BIDIR is 1. Hardware clears this bit when the counter is counting down and a limit condition occurs or when the counter reaches 0."]
pub type DOWN_H_W<'a, const O: u8> = crate::BitWriter<'a, u32, CTRL_SPEC, bool, O>;
#[doc = "Field `STOP_H` reader - When this bit is 1 and HALT is 0, the H counter does not, run but I/O events related to the counter can occur. If such an event matches the mask in the Start register, this bit is cleared and counting resumes."]
pub type STOP_H_R = crate::BitReader<bool>;
#[doc = "Field `STOP_H` writer - When this bit is 1 and HALT is 0, the H counter does not, run but I/O events related to the counter can occur. If such an event matches the mask in the Start register, this bit is cleared and counting resumes."]
pub type STOP_H_W<'a, const O: u8> = crate::BitWriter<'a, u32, CTRL_SPEC, bool, O>;
#[doc = "Field `HALT_H` reader - When this bit is 1, the H counter does not run and no events can occur. A reset sets this bit. When the HALT_H bit is one, the STOP_H bit is cleared. It is possible to remove the halt condition while keeping the SCT in the stop condition (not running) with a single write to this register to simultaneously clear the HALT bit and set the STOP bit. Once set, this bit can only be cleared by software to restore counter operation. This bit is set on reset."]
pub type HALT_H_R = crate::BitReader<bool>;
#[doc = "Field `HALT_H` writer - When this bit is 1, the H counter does not run and no events can occur. A reset sets this bit. When the HALT_H bit is one, the STOP_H bit is cleared. It is possible to remove the halt condition while keeping the SCT in the stop condition (not running) with a single write to this register to simultaneously clear the HALT bit and set the STOP bit. Once set, this bit can only be cleared by software to restore counter operation. This bit is set on reset."]
pub type HALT_H_W<'a, const O: u8> = crate::BitWriter<'a, u32, CTRL_SPEC, bool, O>;
#[doc = "Field `CLRCTR_H` reader - Writing a 1 to this bit clears the H counter. This bit always reads as 0."]
pub type CLRCTR_H_R = crate::BitReader<bool>;
#[doc = "Field `CLRCTR_H` writer - Writing a 1 to this bit clears the H counter. This bit always reads as 0."]
pub type CLRCTR_H_W<'a, const O: u8> = crate::BitWriter<'a, u32, CTRL_SPEC, bool, O>;
#[doc = "Field `BIDIR_H` reader - Direction select"]
pub type BIDIR_H_R = crate::BitReader<BIDIR_H_A>;
#[doc = "Direction select\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum BIDIR_H_A {
#[doc = "0: The H counter counts up to its limit condition, then is cleared to zero."]
UP = 0,
#[doc = "1: The H counter counts up to its limit, then counts down to a limit condition or to 0."]
UP_DOWN = 1,
}
impl From<BIDIR_H_A> for bool {
#[inline(always)]
fn from(variant: BIDIR_H_A) -> Self {
variant as u8 != 0
}
}
impl BIDIR_H_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> BIDIR_H_A {
match self.bits {
false => BIDIR_H_A::UP,
true => BIDIR_H_A::UP_DOWN,
}
}
#[doc = "Checks if the value of the field is `UP`"]
#[inline(always)]
pub fn is_up(&self) -> bool {
*self == BIDIR_H_A::UP
}
#[doc = "Checks if the value of the field is `UP_DOWN`"]
#[inline(always)]
pub fn is_up_down(&self) -> bool {
*self == BIDIR_H_A::UP_DOWN
}
}
#[doc = "Field `BIDIR_H` writer - Direction select"]
pub type BIDIR_H_W<'a, const O: u8> = crate::BitWriter<'a, u32, CTRL_SPEC, BIDIR_H_A, O>;
impl<'a, const O: u8> BIDIR_H_W<'a, O> {
#[doc = "The H counter counts up to its limit condition, then is cleared to zero."]
#[inline(always)]
pub fn up(self) -> &'a mut W {
self.variant(BIDIR_H_A::UP)
}
#[doc = "The H counter counts up to its limit, then counts down to a limit condition or to 0."]
#[inline(always)]
pub fn up_down(self) -> &'a mut W {
self.variant(BIDIR_H_A::UP_DOWN)
}
src/lpc812/sct0/ctrl.rs (line 95)
94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171
pub fn up(self) -> &'a mut W {
self.variant(BIDIR_L_A::UP)
}
#[doc = "Up-down. The counter counts up to a limit, then counts down to a limit condition or to 0."]
#[inline(always)]
pub fn up_down(self) -> &'a mut W {
self.variant(BIDIR_L_A::UP_DOWN)
}
}
#[doc = "Field `PRE_L` reader - Specifies the factor by which the SCT clock is prescaled to produce the L or unified counter clock. The counter clock is clocked at the rate of the SCT clock divided by PRE_L+1. Clear the counter (by writing a 1 to the CLRCTR bit) whenever changing the PRE value."]
pub type PRE_L_R = crate::FieldReader<u8, u8>;
#[doc = "Field `PRE_L` writer - Specifies the factor by which the SCT clock is prescaled to produce the L or unified counter clock. The counter clock is clocked at the rate of the SCT clock divided by PRE_L+1. Clear the counter (by writing a 1 to the CLRCTR bit) whenever changing the PRE value."]
pub type PRE_L_W<'a, const O: u8> = crate::FieldWriter<'a, u32, CTRL_SPEC, u8, u8, 8, O>;
#[doc = "Field `DOWN_H` reader - This bit is 1 when the H counter is counting down. Hardware sets this bit when the counter is counting, a counter limit condition occurs, and BIDIR is 1. Hardware clears this bit when the counter is counting down and a limit condition occurs or when the counter reaches 0."]
pub type DOWN_H_R = crate::BitReader<bool>;
#[doc = "Field `DOWN_H` writer - This bit is 1 when the H counter is counting down. Hardware sets this bit when the counter is counting, a counter limit condition occurs, and BIDIR is 1. Hardware clears this bit when the counter is counting down and a limit condition occurs or when the counter reaches 0."]
pub type DOWN_H_W<'a, const O: u8> = crate::BitWriter<'a, u32, CTRL_SPEC, bool, O>;
#[doc = "Field `STOP_H` reader - When this bit is 1 and HALT is 0, the H counter does not, run but I/O events related to the counter can occur. If such an event matches the mask in the Start register, this bit is cleared and counting resumes."]
pub type STOP_H_R = crate::BitReader<bool>;
#[doc = "Field `STOP_H` writer - When this bit is 1 and HALT is 0, the H counter does not, run but I/O events related to the counter can occur. If such an event matches the mask in the Start register, this bit is cleared and counting resumes."]
pub type STOP_H_W<'a, const O: u8> = crate::BitWriter<'a, u32, CTRL_SPEC, bool, O>;
#[doc = "Field `HALT_H` reader - When this bit is 1, the H counter does not run and no events can occur. A reset sets this bit. When the HALT_H bit is one, the STOP_H bit is cleared. It is possible to remove the halt condition while keeping the SCT in the stop condition (not running) with a single write to this register to simultaneously clear the HALT bit and set the STOP bit. Once set, this bit can only be cleared by software to restore counter operation. This bit is set on reset."]
pub type HALT_H_R = crate::BitReader<bool>;
#[doc = "Field `HALT_H` writer - When this bit is 1, the H counter does not run and no events can occur. A reset sets this bit. When the HALT_H bit is one, the STOP_H bit is cleared. It is possible to remove the halt condition while keeping the SCT in the stop condition (not running) with a single write to this register to simultaneously clear the HALT bit and set the STOP bit. Once set, this bit can only be cleared by software to restore counter operation. This bit is set on reset."]
pub type HALT_H_W<'a, const O: u8> = crate::BitWriter<'a, u32, CTRL_SPEC, bool, O>;
#[doc = "Field `CLRCTR_H` reader - Writing a 1 to this bit clears the H counter. This bit always reads as 0."]
pub type CLRCTR_H_R = crate::BitReader<bool>;
#[doc = "Field `CLRCTR_H` writer - Writing a 1 to this bit clears the H counter. This bit always reads as 0."]
pub type CLRCTR_H_W<'a, const O: u8> = crate::BitWriter<'a, u32, CTRL_SPEC, bool, O>;
#[doc = "Field `BIDIR_H` reader - Direction select"]
pub type BIDIR_H_R = crate::BitReader<BIDIR_H_A>;
#[doc = "Direction select\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum BIDIR_H_A {
#[doc = "0: The H counter counts up to its limit condition, then is cleared to zero."]
UP = 0,
#[doc = "1: The H counter counts up to its limit, then counts down to a limit condition or to 0."]
UP_DOWN = 1,
}
impl From<BIDIR_H_A> for bool {
#[inline(always)]
fn from(variant: BIDIR_H_A) -> Self {
variant as u8 != 0
}
}
impl BIDIR_H_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> BIDIR_H_A {
match self.bits {
false => BIDIR_H_A::UP,
true => BIDIR_H_A::UP_DOWN,
}
}
#[doc = "Checks if the value of the field is `UP`"]
#[inline(always)]
pub fn is_up(&self) -> bool {
*self == BIDIR_H_A::UP
}
#[doc = "Checks if the value of the field is `UP_DOWN`"]
#[inline(always)]
pub fn is_up_down(&self) -> bool {
*self == BIDIR_H_A::UP_DOWN
}
}
#[doc = "Field `BIDIR_H` writer - Direction select"]
pub type BIDIR_H_W<'a, const O: u8> = crate::BitWriter<'a, u32, CTRL_SPEC, BIDIR_H_A, O>;
impl<'a, const O: u8> BIDIR_H_W<'a, O> {
#[doc = "The H counter counts up to its limit condition, then is cleared to zero."]
#[inline(always)]
pub fn up(self) -> &'a mut W {
self.variant(BIDIR_H_A::UP)
}
#[doc = "The H counter counts up to its limit, then counts down to a limit condition or to 0."]
#[inline(always)]
pub fn up_down(self) -> &'a mut W {
self.variant(BIDIR_H_A::UP_DOWN)
}
src/lpc810/wwdt/mod_.rs (line 79)
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193
pub fn stop(self) -> &'a mut W {
self.variant(WDEN_A::STOP)
}
#[doc = "Run. The watchdog timer is running."]
#[inline(always)]
pub fn run(self) -> &'a mut W {
self.variant(WDEN_A::RUN)
}
}
#[doc = "Field `WDRESET` reader - Watchdog reset enable bit. Once this bit has been written with a 1 it cannot be re-written with a 0."]
pub type WDRESET_R = crate::BitReader<WDRESET_A>;
#[doc = "Watchdog reset enable bit. Once this bit has been written with a 1 it cannot be re-written with a 0.\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum WDRESET_A {
#[doc = "0: Interrupt. A watchdog time-out will not cause a chip reset."]
INTERRUPT = 0,
#[doc = "1: Reset. A watchdog time-out will cause a chip reset."]
RESET = 1,
}
impl From<WDRESET_A> for bool {
#[inline(always)]
fn from(variant: WDRESET_A) -> Self {
variant as u8 != 0
}
}
impl WDRESET_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> WDRESET_A {
match self.bits {
false => WDRESET_A::INTERRUPT,
true => WDRESET_A::RESET,
}
}
#[doc = "Checks if the value of the field is `INTERRUPT`"]
#[inline(always)]
pub fn is_interrupt(&self) -> bool {
*self == WDRESET_A::INTERRUPT
}
#[doc = "Checks if the value of the field is `RESET`"]
#[inline(always)]
pub fn is_reset(&self) -> bool {
*self == WDRESET_A::RESET
}
}
#[doc = "Field `WDRESET` writer - Watchdog reset enable bit. Once this bit has been written with a 1 it cannot be re-written with a 0."]
pub type WDRESET_W<'a, const O: u8> = crate::BitWriter<'a, u32, MOD_SPEC, WDRESET_A, O>;
impl<'a, const O: u8> WDRESET_W<'a, O> {
#[doc = "Interrupt. A watchdog time-out will not cause a chip reset."]
#[inline(always)]
pub fn interrupt(self) -> &'a mut W {
self.variant(WDRESET_A::INTERRUPT)
}
#[doc = "Reset. A watchdog time-out will cause a chip reset."]
#[inline(always)]
pub fn reset(self) -> &'a mut W {
self.variant(WDRESET_A::RESET)
}
}
#[doc = "Field `WDTOF` reader - Watchdog time-out flag. Set when the watchdog timer times out, by a feed error, or by events associated with WDPROTECT. Cleared by software writing a 0 to this bit position. Causes a chip reset if WDRESET = 1."]
pub type WDTOF_R = crate::BitReader<bool>;
#[doc = "Field `WDTOF` writer - Watchdog time-out flag. Set when the watchdog timer times out, by a feed error, or by events associated with WDPROTECT. Cleared by software writing a 0 to this bit position. Causes a chip reset if WDRESET = 1."]
pub type WDTOF_W<'a, const O: u8> = crate::BitWriter<'a, u32, MOD_SPEC, bool, O>;
#[doc = "Field `WDINT` reader - Warning interrupt flag. Set when the timer is at or below the value in WDWARNINT. Cleared by software writing a 1 to this bit position. Note that this bit cannot be cleared while the WARNINT value is equal to the value of the TV register. This can occur if the value of WARNINT is 0 and the WDRESET bit is 0 when TV decrements to 0."]
pub type WDINT_R = crate::BitReader<bool>;
#[doc = "Field `WDINT` writer - Warning interrupt flag. Set when the timer is at or below the value in WDWARNINT. Cleared by software writing a 1 to this bit position. Note that this bit cannot be cleared while the WARNINT value is equal to the value of the TV register. This can occur if the value of WARNINT is 0 and the WDRESET bit is 0 when TV decrements to 0."]
pub type WDINT_W<'a, const O: u8> = crate::BitWriter<'a, u32, MOD_SPEC, bool, O>;
#[doc = "Field `WDPROTECT` reader - Watchdog update mode. This bit can be set once by software and is only cleared by a reset."]
pub type WDPROTECT_R = crate::BitReader<WDPROTECT_A>;
#[doc = "Watchdog update mode. This bit can be set once by software and is only cleared by a reset.\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum WDPROTECT_A {
#[doc = "0: Flexible. The watchdog time-out value (TC) can be changed at any time."]
FLEXIBLE = 0,
#[doc = "1: Threshold. The watchdog time-out value (TC) can be changed only after the counter is below the value of WDWARNINT and WDWINDOW."]
THRESHOLD = 1,
}
impl From<WDPROTECT_A> for bool {
#[inline(always)]
fn from(variant: WDPROTECT_A) -> Self {
variant as u8 != 0
}
}
impl WDPROTECT_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> WDPROTECT_A {
match self.bits {
false => WDPROTECT_A::FLEXIBLE,
true => WDPROTECT_A::THRESHOLD,
}
}
#[doc = "Checks if the value of the field is `FLEXIBLE`"]
#[inline(always)]
pub fn is_flexible(&self) -> bool {
*self == WDPROTECT_A::FLEXIBLE
}
#[doc = "Checks if the value of the field is `THRESHOLD`"]
#[inline(always)]
pub fn is_threshold(&self) -> bool {
*self == WDPROTECT_A::THRESHOLD
}
}
#[doc = "Field `WDPROTECT` writer - Watchdog update mode. This bit can be set once by software and is only cleared by a reset."]
pub type WDPROTECT_W<'a, const O: u8> = crate::BitWriter<'a, u32, MOD_SPEC, WDPROTECT_A, O>;
impl<'a, const O: u8> WDPROTECT_W<'a, O> {
#[doc = "Flexible. The watchdog time-out value (TC) can be changed at any time."]
#[inline(always)]
pub fn flexible(self) -> &'a mut W {
self.variant(WDPROTECT_A::FLEXIBLE)
}
#[doc = "Threshold. The watchdog time-out value (TC) can be changed only after the counter is below the value of WDWARNINT and WDWINDOW."]
#[inline(always)]
pub fn threshold(self) -> &'a mut W {
self.variant(WDPROTECT_A::THRESHOLD)
}
src/lpc811/wwdt/mod_.rs (line 79)
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193
pub fn stop(self) -> &'a mut W {
self.variant(WDEN_A::STOP)
}
#[doc = "Run. The watchdog timer is running."]
#[inline(always)]
pub fn run(self) -> &'a mut W {
self.variant(WDEN_A::RUN)
}
}
#[doc = "Field `WDRESET` reader - Watchdog reset enable bit. Once this bit has been written with a 1 it cannot be re-written with a 0."]
pub type WDRESET_R = crate::BitReader<WDRESET_A>;
#[doc = "Watchdog reset enable bit. Once this bit has been written with a 1 it cannot be re-written with a 0.\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum WDRESET_A {
#[doc = "0: Interrupt. A watchdog time-out will not cause a chip reset."]
INTERRUPT = 0,
#[doc = "1: Reset. A watchdog time-out will cause a chip reset."]
RESET = 1,
}
impl From<WDRESET_A> for bool {
#[inline(always)]
fn from(variant: WDRESET_A) -> Self {
variant as u8 != 0
}
}
impl WDRESET_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> WDRESET_A {
match self.bits {
false => WDRESET_A::INTERRUPT,
true => WDRESET_A::RESET,
}
}
#[doc = "Checks if the value of the field is `INTERRUPT`"]
#[inline(always)]
pub fn is_interrupt(&self) -> bool {
*self == WDRESET_A::INTERRUPT
}
#[doc = "Checks if the value of the field is `RESET`"]
#[inline(always)]
pub fn is_reset(&self) -> bool {
*self == WDRESET_A::RESET
}
}
#[doc = "Field `WDRESET` writer - Watchdog reset enable bit. Once this bit has been written with a 1 it cannot be re-written with a 0."]
pub type WDRESET_W<'a, const O: u8> = crate::BitWriter<'a, u32, MOD_SPEC, WDRESET_A, O>;
impl<'a, const O: u8> WDRESET_W<'a, O> {
#[doc = "Interrupt. A watchdog time-out will not cause a chip reset."]
#[inline(always)]
pub fn interrupt(self) -> &'a mut W {
self.variant(WDRESET_A::INTERRUPT)
}
#[doc = "Reset. A watchdog time-out will cause a chip reset."]
#[inline(always)]
pub fn reset(self) -> &'a mut W {
self.variant(WDRESET_A::RESET)
}
}
#[doc = "Field `WDTOF` reader - Watchdog time-out flag. Set when the watchdog timer times out, by a feed error, or by events associated with WDPROTECT. Cleared by software writing a 0 to this bit position. Causes a chip reset if WDRESET = 1."]
pub type WDTOF_R = crate::BitReader<bool>;
#[doc = "Field `WDTOF` writer - Watchdog time-out flag. Set when the watchdog timer times out, by a feed error, or by events associated with WDPROTECT. Cleared by software writing a 0 to this bit position. Causes a chip reset if WDRESET = 1."]
pub type WDTOF_W<'a, const O: u8> = crate::BitWriter<'a, u32, MOD_SPEC, bool, O>;
#[doc = "Field `WDINT` reader - Warning interrupt flag. Set when the timer is at or below the value in WDWARNINT. Cleared by software writing a 1 to this bit position. Note that this bit cannot be cleared while the WARNINT value is equal to the value of the TV register. This can occur if the value of WARNINT is 0 and the WDRESET bit is 0 when TV decrements to 0."]
pub type WDINT_R = crate::BitReader<bool>;
#[doc = "Field `WDINT` writer - Warning interrupt flag. Set when the timer is at or below the value in WDWARNINT. Cleared by software writing a 1 to this bit position. Note that this bit cannot be cleared while the WARNINT value is equal to the value of the TV register. This can occur if the value of WARNINT is 0 and the WDRESET bit is 0 when TV decrements to 0."]
pub type WDINT_W<'a, const O: u8> = crate::BitWriter<'a, u32, MOD_SPEC, bool, O>;
#[doc = "Field `WDPROTECT` reader - Watchdog update mode. This bit can be set once by software and is only cleared by a reset."]
pub type WDPROTECT_R = crate::BitReader<WDPROTECT_A>;
#[doc = "Watchdog update mode. This bit can be set once by software and is only cleared by a reset.\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum WDPROTECT_A {
#[doc = "0: Flexible. The watchdog time-out value (TC) can be changed at any time."]
FLEXIBLE = 0,
#[doc = "1: Threshold. The watchdog time-out value (TC) can be changed only after the counter is below the value of WDWARNINT and WDWINDOW."]
THRESHOLD = 1,
}
impl From<WDPROTECT_A> for bool {
#[inline(always)]
fn from(variant: WDPROTECT_A) -> Self {
variant as u8 != 0
}
}
impl WDPROTECT_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> WDPROTECT_A {
match self.bits {
false => WDPROTECT_A::FLEXIBLE,
true => WDPROTECT_A::THRESHOLD,
}
}
#[doc = "Checks if the value of the field is `FLEXIBLE`"]
#[inline(always)]
pub fn is_flexible(&self) -> bool {
*self == WDPROTECT_A::FLEXIBLE
}
#[doc = "Checks if the value of the field is `THRESHOLD`"]
#[inline(always)]
pub fn is_threshold(&self) -> bool {
*self == WDPROTECT_A::THRESHOLD
}
}
#[doc = "Field `WDPROTECT` writer - Watchdog update mode. This bit can be set once by software and is only cleared by a reset."]
pub type WDPROTECT_W<'a, const O: u8> = crate::BitWriter<'a, u32, MOD_SPEC, WDPROTECT_A, O>;
impl<'a, const O: u8> WDPROTECT_W<'a, O> {
#[doc = "Flexible. The watchdog time-out value (TC) can be changed at any time."]
#[inline(always)]
pub fn flexible(self) -> &'a mut W {
self.variant(WDPROTECT_A::FLEXIBLE)
}
#[doc = "Threshold. The watchdog time-out value (TC) can be changed only after the counter is below the value of WDWARNINT and WDWINDOW."]
#[inline(always)]
pub fn threshold(self) -> &'a mut W {
self.variant(WDPROTECT_A::THRESHOLD)
}
src/lpc812/wwdt/mod_.rs (line 79)
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193
pub fn stop(self) -> &'a mut W {
self.variant(WDEN_A::STOP)
}
#[doc = "Run. The watchdog timer is running."]
#[inline(always)]
pub fn run(self) -> &'a mut W {
self.variant(WDEN_A::RUN)
}
}
#[doc = "Field `WDRESET` reader - Watchdog reset enable bit. Once this bit has been written with a 1 it cannot be re-written with a 0."]
pub type WDRESET_R = crate::BitReader<WDRESET_A>;
#[doc = "Watchdog reset enable bit. Once this bit has been written with a 1 it cannot be re-written with a 0.\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum WDRESET_A {
#[doc = "0: Interrupt. A watchdog time-out will not cause a chip reset."]
INTERRUPT = 0,
#[doc = "1: Reset. A watchdog time-out will cause a chip reset."]
RESET = 1,
}
impl From<WDRESET_A> for bool {
#[inline(always)]
fn from(variant: WDRESET_A) -> Self {
variant as u8 != 0
}
}
impl WDRESET_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> WDRESET_A {
match self.bits {
false => WDRESET_A::INTERRUPT,
true => WDRESET_A::RESET,
}
}
#[doc = "Checks if the value of the field is `INTERRUPT`"]
#[inline(always)]
pub fn is_interrupt(&self) -> bool {
*self == WDRESET_A::INTERRUPT
}
#[doc = "Checks if the value of the field is `RESET`"]
#[inline(always)]
pub fn is_reset(&self) -> bool {
*self == WDRESET_A::RESET
}
}
#[doc = "Field `WDRESET` writer - Watchdog reset enable bit. Once this bit has been written with a 1 it cannot be re-written with a 0."]
pub type WDRESET_W<'a, const O: u8> = crate::BitWriter<'a, u32, MOD_SPEC, WDRESET_A, O>;
impl<'a, const O: u8> WDRESET_W<'a, O> {
#[doc = "Interrupt. A watchdog time-out will not cause a chip reset."]
#[inline(always)]
pub fn interrupt(self) -> &'a mut W {
self.variant(WDRESET_A::INTERRUPT)
}
#[doc = "Reset. A watchdog time-out will cause a chip reset."]
#[inline(always)]
pub fn reset(self) -> &'a mut W {
self.variant(WDRESET_A::RESET)
}
}
#[doc = "Field `WDTOF` reader - Watchdog time-out flag. Set when the watchdog timer times out, by a feed error, or by events associated with WDPROTECT. Cleared by software writing a 0 to this bit position. Causes a chip reset if WDRESET = 1."]
pub type WDTOF_R = crate::BitReader<bool>;
#[doc = "Field `WDTOF` writer - Watchdog time-out flag. Set when the watchdog timer times out, by a feed error, or by events associated with WDPROTECT. Cleared by software writing a 0 to this bit position. Causes a chip reset if WDRESET = 1."]
pub type WDTOF_W<'a, const O: u8> = crate::BitWriter<'a, u32, MOD_SPEC, bool, O>;
#[doc = "Field `WDINT` reader - Warning interrupt flag. Set when the timer is at or below the value in WDWARNINT. Cleared by software writing a 1 to this bit position. Note that this bit cannot be cleared while the WARNINT value is equal to the value of the TV register. This can occur if the value of WARNINT is 0 and the WDRESET bit is 0 when TV decrements to 0."]
pub type WDINT_R = crate::BitReader<bool>;
#[doc = "Field `WDINT` writer - Warning interrupt flag. Set when the timer is at or below the value in WDWARNINT. Cleared by software writing a 1 to this bit position. Note that this bit cannot be cleared while the WARNINT value is equal to the value of the TV register. This can occur if the value of WARNINT is 0 and the WDRESET bit is 0 when TV decrements to 0."]
pub type WDINT_W<'a, const O: u8> = crate::BitWriter<'a, u32, MOD_SPEC, bool, O>;
#[doc = "Field `WDPROTECT` reader - Watchdog update mode. This bit can be set once by software and is only cleared by a reset."]
pub type WDPROTECT_R = crate::BitReader<WDPROTECT_A>;
#[doc = "Watchdog update mode. This bit can be set once by software and is only cleared by a reset.\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum WDPROTECT_A {
#[doc = "0: Flexible. The watchdog time-out value (TC) can be changed at any time."]
FLEXIBLE = 0,
#[doc = "1: Threshold. The watchdog time-out value (TC) can be changed only after the counter is below the value of WDWARNINT and WDWINDOW."]
THRESHOLD = 1,
}
impl From<WDPROTECT_A> for bool {
#[inline(always)]
fn from(variant: WDPROTECT_A) -> Self {
variant as u8 != 0
}
}
impl WDPROTECT_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> WDPROTECT_A {
match self.bits {
false => WDPROTECT_A::FLEXIBLE,
true => WDPROTECT_A::THRESHOLD,
}
}
#[doc = "Checks if the value of the field is `FLEXIBLE`"]
#[inline(always)]
pub fn is_flexible(&self) -> bool {
*self == WDPROTECT_A::FLEXIBLE
}
#[doc = "Checks if the value of the field is `THRESHOLD`"]
#[inline(always)]
pub fn is_threshold(&self) -> bool {
*self == WDPROTECT_A::THRESHOLD
}
}
#[doc = "Field `WDPROTECT` writer - Watchdog update mode. This bit can be set once by software and is only cleared by a reset."]
pub type WDPROTECT_W<'a, const O: u8> = crate::BitWriter<'a, u32, MOD_SPEC, WDPROTECT_A, O>;
impl<'a, const O: u8> WDPROTECT_W<'a, O> {
#[doc = "Flexible. The watchdog time-out value (TC) can be changed at any time."]
#[inline(always)]
pub fn flexible(self) -> &'a mut W {
self.variant(WDPROTECT_A::FLEXIBLE)
}
#[doc = "Threshold. The watchdog time-out value (TC) can be changed only after the counter is below the value of WDWARNINT and WDWINDOW."]
#[inline(always)]
pub fn threshold(self) -> &'a mut W {
self.variant(WDPROTECT_A::THRESHOLD)
}
Additional examples can be found in:
- src/lpc810/syscon/clkoutuen.rs
- src/lpc810/syscon/mainclkuen.rs
- src/lpc810/syscon/sysahbclkctrl.rs
- src/lpc810/syscon/sysrststat.rs
- src/lpc811/syscon/clkoutuen.rs
- src/lpc811/syscon/mainclkuen.rs
- src/lpc811/syscon/sysahbclkctrl.rs
- src/lpc811/syscon/sysrststat.rs
- src/lpc812/syscon/clkoutuen.rs
- src/lpc812/syscon/mainclkuen.rs
- src/lpc812/syscon/sysahbclkctrl.rs
- src/lpc812/syscon/sysrststat.rs
- src/lpc810/i2c0/slvqual0.rs
- src/lpc810/iocon/pio0_0.rs
- src/lpc810/iocon/pio0_1.rs
- src/lpc810/iocon/pio0_12.rs
- src/lpc810/iocon/pio0_13.rs
- src/lpc810/iocon/pio0_14.rs
- src/lpc810/iocon/pio0_15.rs
- src/lpc810/iocon/pio0_16.rs
- src/lpc810/iocon/pio0_17.rs
- src/lpc810/iocon/pio0_2.rs
- src/lpc810/iocon/pio0_3.rs
- src/lpc810/iocon/pio0_4.rs
- src/lpc810/iocon/pio0_5.rs
- src/lpc810/iocon/pio0_6.rs
- src/lpc810/iocon/pio0_7.rs
- src/lpc810/iocon/pio0_8.rs
- src/lpc810/iocon/pio0_9.rs
- src/lpc811/i2c0/slvqual0.rs
- src/lpc811/iocon/pio0_0.rs
- src/lpc811/iocon/pio0_1.rs
- src/lpc811/iocon/pio0_12.rs
- src/lpc811/iocon/pio0_13.rs
- src/lpc811/iocon/pio0_14.rs
- src/lpc811/iocon/pio0_15.rs
- src/lpc811/iocon/pio0_16.rs
- src/lpc811/iocon/pio0_17.rs
- src/lpc811/iocon/pio0_2.rs
- src/lpc811/iocon/pio0_3.rs
- src/lpc811/iocon/pio0_4.rs
- src/lpc811/iocon/pio0_5.rs
- src/lpc811/iocon/pio0_6.rs
- src/lpc811/iocon/pio0_7.rs
- src/lpc811/iocon/pio0_8.rs
- src/lpc811/iocon/pio0_9.rs
- src/lpc812/i2c0/slvqual0.rs
- src/lpc812/iocon/pio0_0.rs
- src/lpc812/iocon/pio0_1.rs
- src/lpc812/iocon/pio0_12.rs
- src/lpc812/iocon/pio0_13.rs
- src/lpc812/iocon/pio0_14.rs
- src/lpc812/iocon/pio0_15.rs
- src/lpc812/iocon/pio0_16.rs
- src/lpc812/iocon/pio0_17.rs
- src/lpc812/iocon/pio0_2.rs
- src/lpc812/iocon/pio0_3.rs
- src/lpc812/iocon/pio0_4.rs
- src/lpc812/iocon/pio0_5.rs
- src/lpc812/iocon/pio0_6.rs
- src/lpc812/iocon/pio0_7.rs
- src/lpc812/iocon/pio0_8.rs
- src/lpc812/iocon/pio0_9.rs
- src/lpc810/usart0/ctl.rs
- src/lpc811/usart0/ctl.rs
- src/lpc812/usart0/ctl.rs
- src/lpc810/syscon/pdsleepcfg.rs
- src/lpc810/syscon/starterp1.rs
- src/lpc811/syscon/pdsleepcfg.rs
- src/lpc811/syscon/starterp1.rs
- src/lpc812/syscon/pdsleepcfg.rs
- src/lpc812/syscon/starterp1.rs
- src/lpc810/i2c0/cfg.rs
- src/lpc810/mrt0/channel/ctrl.rs
- src/lpc810/swm0/pinenable0.rs
- src/lpc810/syscon/starterp0.rs
- src/lpc810/syscon/syspllclkuen.rs
- src/lpc811/i2c0/cfg.rs
- src/lpc811/mrt0/channel/ctrl.rs
- src/lpc811/swm0/pinenable0.rs
- src/lpc811/syscon/starterp0.rs
- src/lpc811/syscon/syspllclkuen.rs
- src/lpc812/i2c0/cfg.rs
- src/lpc812/mrt0/channel/ctrl.rs
- src/lpc812/swm0/pinenable0.rs
- src/lpc812/syscon/starterp0.rs
- src/lpc812/syscon/syspllclkuen.rs
- src/lpc810/acomp/ctrl.rs
- src/lpc810/acomp/lad.rs
- src/lpc810/spi0/cfg.rs
- src/lpc810/usart0/cfg.rs
- src/lpc811/acomp/ctrl.rs
- src/lpc811/acomp/lad.rs
- src/lpc811/spi0/cfg.rs
- src/lpc811/usart0/cfg.rs
- src/lpc812/acomp/ctrl.rs
- src/lpc812/acomp/lad.rs
- src/lpc812/spi0/cfg.rs
- src/lpc812/usart0/cfg.rs
- src/lpc810/i2c0/slvadr.rs
- src/lpc810/syscon/bodctrl.rs
- src/lpc810/syscon/pdawakecfg.rs
- src/lpc810/syscon/pdruncfg.rs
- src/lpc811/i2c0/slvadr.rs
- src/lpc811/syscon/bodctrl.rs
- src/lpc811/syscon/pdawakecfg.rs
- src/lpc811/syscon/pdruncfg.rs
- src/lpc812/i2c0/slvadr.rs
- src/lpc812/syscon/bodctrl.rs
- src/lpc812/syscon/pdawakecfg.rs
- src/lpc812/syscon/pdruncfg.rs
- src/lpc810/i2c0/stat.rs
- src/lpc810/sct0/ev/ev_ctrl.rs
- src/lpc811/i2c0/stat.rs
- src/lpc811/sct0/ev/ev_ctrl.rs
- src/lpc812/i2c0/stat.rs
- src/lpc812/sct0/ev/ev_ctrl.rs
- src/lpc810/pmu/dpdctrl.rs
- src/lpc810/spi0/intenset.rs
- src/lpc811/pmu/dpdctrl.rs
- src/lpc811/spi0/intenset.rs
- src/lpc812/pmu/dpdctrl.rs
- src/lpc812/spi0/intenset.rs
- src/lpc810/iocon/pio0_10.rs
- src/lpc810/iocon/pio0_11.rs
- src/lpc811/iocon/pio0_10.rs
- src/lpc811/iocon/pio0_11.rs
- src/lpc812/iocon/pio0_10.rs
- src/lpc812/iocon/pio0_11.rs
- src/lpc810/i2c0/intenset.rs
- src/lpc811/i2c0/intenset.rs
- src/lpc812/i2c0/intenset.rs
- src/lpc810/i2c0/mstctl.rs
- src/lpc810/i2c0/slvctl.rs
- src/lpc810/sct0/config.rs
- src/lpc811/i2c0/mstctl.rs
- src/lpc811/i2c0/slvctl.rs
- src/lpc811/sct0/config.rs
- src/lpc812/i2c0/mstctl.rs
- src/lpc812/i2c0/slvctl.rs
- src/lpc812/sct0/config.rs
- src/lpc810/mrt0/channel/intval.rs
- src/lpc810/pint/pmcfg.rs
- src/lpc811/mrt0/channel/intval.rs
- src/lpc811/pint/pmcfg.rs
- src/lpc812/mrt0/channel/intval.rs
- src/lpc812/pint/pmcfg.rs
- src/lpc810/pmu/pcon.rs
- src/lpc810/spi0/txdatctl.rs
- src/lpc811/pmu/pcon.rs
- src/lpc811/spi0/txdatctl.rs
- src/lpc812/pmu/pcon.rs
- src/lpc812/spi0/txdatctl.rs
- src/lpc810/syscon/presetctrl.rs
- src/lpc811/syscon/presetctrl.rs
- src/lpc812/syscon/presetctrl.rs
- src/lpc810/pint/pmctrl.rs
- src/lpc811/pint/pmctrl.rs
- src/lpc812/pint/pmctrl.rs
- src/lpc810/wkt/ctrl.rs
- src/lpc811/wkt/ctrl.rs
- src/lpc812/wkt/ctrl.rs
- src/lpc810/mrt0/irq_flag.rs
- src/lpc811/mrt0/irq_flag.rs
- src/lpc812/mrt0/irq_flag.rs
- src/lpc810/mrt0/channel/stat.rs
- src/lpc811/mrt0/channel/stat.rs
- src/lpc812/mrt0/channel/stat.rs