57 lines
		
	
	
		
			3.5 KiB
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			57 lines
		
	
	
		
			3.5 KiB
		
	
	
	
		
			Rust
		
	
	
	
	
	
| #[doc = r"Register block"]
 | |
| #[repr(C)]
 | |
| pub struct RegisterBlock {
 | |
|     #[doc = "0x00 - Channel Configuration register"]
 | |
|     pub chcfg0: CHCFG0,
 | |
|     #[doc = "0x01 - Channel Configuration register"]
 | |
|     pub chcfg1: CHCFG1,
 | |
|     #[doc = "0x02 - Channel Configuration register"]
 | |
|     pub chcfg2: CHCFG2,
 | |
|     #[doc = "0x03 - Channel Configuration register"]
 | |
|     pub chcfg3: CHCFG3,
 | |
| }
 | |
| #[doc = "Channel Configuration register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [chcfg0](chcfg0) module"]
 | |
| pub type CHCFG0 = crate::Reg<u8, _CHCFG0>;
 | |
| #[allow(missing_docs)]
 | |
| #[doc(hidden)]
 | |
| pub struct _CHCFG0;
 | |
| #[doc = "`read()` method returns [chcfg0::R](chcfg0::R) reader structure"]
 | |
| impl crate::Readable for CHCFG0 {}
 | |
| #[doc = "`write(|w| ..)` method takes [chcfg0::W](chcfg0::W) writer structure"]
 | |
| impl crate::Writable for CHCFG0 {}
 | |
| #[doc = "Channel Configuration register"]
 | |
| pub mod chcfg0;
 | |
| #[doc = "Channel Configuration register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [chcfg1](chcfg1) module"]
 | |
| pub type CHCFG1 = crate::Reg<u8, _CHCFG1>;
 | |
| #[allow(missing_docs)]
 | |
| #[doc(hidden)]
 | |
| pub struct _CHCFG1;
 | |
| #[doc = "`read()` method returns [chcfg1::R](chcfg1::R) reader structure"]
 | |
| impl crate::Readable for CHCFG1 {}
 | |
| #[doc = "`write(|w| ..)` method takes [chcfg1::W](chcfg1::W) writer structure"]
 | |
| impl crate::Writable for CHCFG1 {}
 | |
| #[doc = "Channel Configuration register"]
 | |
| pub mod chcfg1;
 | |
| #[doc = "Channel Configuration register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [chcfg2](chcfg2) module"]
 | |
| pub type CHCFG2 = crate::Reg<u8, _CHCFG2>;
 | |
| #[allow(missing_docs)]
 | |
| #[doc(hidden)]
 | |
| pub struct _CHCFG2;
 | |
| #[doc = "`read()` method returns [chcfg2::R](chcfg2::R) reader structure"]
 | |
| impl crate::Readable for CHCFG2 {}
 | |
| #[doc = "`write(|w| ..)` method takes [chcfg2::W](chcfg2::W) writer structure"]
 | |
| impl crate::Writable for CHCFG2 {}
 | |
| #[doc = "Channel Configuration register"]
 | |
| pub mod chcfg2;
 | |
| #[doc = "Channel Configuration register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [chcfg3](chcfg3) module"]
 | |
| pub type CHCFG3 = crate::Reg<u8, _CHCFG3>;
 | |
| #[allow(missing_docs)]
 | |
| #[doc(hidden)]
 | |
| pub struct _CHCFG3;
 | |
| #[doc = "`read()` method returns [chcfg3::R](chcfg3::R) reader structure"]
 | |
| impl crate::Readable for CHCFG3 {}
 | |
| #[doc = "`write(|w| ..)` method takes [chcfg3::W](chcfg3::W) writer structure"]
 | |
| impl crate::Writable for CHCFG3 {}
 | |
| #[doc = "Channel Configuration register"]
 | |
| pub mod chcfg3;
 |