msp430fr5962/mpy32/
mac32l.rs1#[doc = "Register `MAC32L` reader"]
2pub type R = crate::R<Mac32lSpec>;
3#[doc = "Register `MAC32L` writer"]
4pub type W = crate::W<Mac32lSpec>;
5impl core::fmt::Debug for R {
6 fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
7 write!(f, "{}", self.bits())
8 }
9}
10impl W {}
11#[doc = "32-bit operand 1 multiply accumulate low word\n\nYou can [`read`](crate::Reg::read) this register and get [`mac32l::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`mac32l::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
12pub struct Mac32lSpec;
13impl crate::RegisterSpec for Mac32lSpec {
14 type Ux = u16;
15}
16#[doc = "`read()` method returns [`mac32l::R`](R) reader structure"]
17impl crate::Readable for Mac32lSpec {}
18#[doc = "`write(|w| ..)` method takes [`mac32l::W`](W) writer structure"]
19impl crate::Writable for Mac32lSpec {
20 type Safety = crate::Unsafe;
21 const ZERO_TO_MODIFY_FIELDS_BITMAP: u16 = 0;
22 const ONE_TO_MODIFY_FIELDS_BITMAP: u16 = 0;
23}
24#[doc = "`reset()` method sets MAC32L to value 0"]
25impl crate::Resettable for Mac32lSpec {
26 const RESET_VALUE: u16 = 0;
27}