1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - USART Control and Status Register A"] pub ucsr0a: UCSR0A, #[doc = "0x01 - USART Control and Status Register B"] pub ucsr0b: UCSR0B, #[doc = "0x02 - USART Control and Status Register C"] pub ucsr0c: UCSR0C, _reserved3: [u8; 1usize], #[doc = "0x04 - USART Baud Rate Register Bytes"] pub ubrr0: UBRR0, #[doc = "0x06 - USART I/O Data Register"] pub udr0: UDR0, } #[doc = "USART Baud Rate Register Bytes\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 [ubrr0](ubrr0) module"] pub type UBRR0 = crate::Reg<u16, _UBRR0>; #[allow(missing_docs)] #[doc(hidden)] pub struct _UBRR0; #[doc = "`read()` method returns [ubrr0::R](ubrr0::R) reader structure"] impl crate::Readable for UBRR0 {} #[doc = "`write(|w| ..)` method takes [ubrr0::W](ubrr0::W) writer structure"] impl crate::Writable for UBRR0 {} #[doc = "USART Baud Rate Register Bytes"] pub mod ubrr0; #[doc = "USART Control and Status Register A\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 [ucsr0a](ucsr0a) module"] pub type UCSR0A = crate::Reg<u8, _UCSR0A>; #[allow(missing_docs)] #[doc(hidden)] pub struct _UCSR0A; #[doc = "`read()` method returns [ucsr0a::R](ucsr0a::R) reader structure"] impl crate::Readable for UCSR0A {} #[doc = "`write(|w| ..)` method takes [ucsr0a::W](ucsr0a::W) writer structure"] impl crate::Writable for UCSR0A {} #[doc = "USART Control and Status Register A"] pub mod ucsr0a; #[doc = "USART Control and Status Register B\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 [ucsr0b](ucsr0b) module"] pub type UCSR0B = crate::Reg<u8, _UCSR0B>; #[allow(missing_docs)] #[doc(hidden)] pub struct _UCSR0B; #[doc = "`read()` method returns [ucsr0b::R](ucsr0b::R) reader structure"] impl crate::Readable for UCSR0B {} #[doc = "`write(|w| ..)` method takes [ucsr0b::W](ucsr0b::W) writer structure"] impl crate::Writable for UCSR0B {} #[doc = "USART Control and Status Register B"] pub mod ucsr0b; #[doc = "USART Control and Status Register C\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 [ucsr0c](ucsr0c) module"] pub type UCSR0C = crate::Reg<u8, _UCSR0C>; #[allow(missing_docs)] #[doc(hidden)] pub struct _UCSR0C; #[doc = "`read()` method returns [ucsr0c::R](ucsr0c::R) reader structure"] impl crate::Readable for UCSR0C {} #[doc = "`write(|w| ..)` method takes [ucsr0c::W](ucsr0c::W) writer structure"] impl crate::Writable for UCSR0C {} #[doc = "USART Control and Status Register C"] pub mod ucsr0c; #[doc = "USART I/O Data 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 [udr0](udr0) module"] pub type UDR0 = crate::Reg<u8, _UDR0>; #[allow(missing_docs)] #[doc(hidden)] pub struct _UDR0; #[doc = "`read()` method returns [udr0::R](udr0::R) reader structure"] impl crate::Readable for UDR0 {} #[doc = "`write(|w| ..)` method takes [udr0::W](udr0::W) writer structure"] impl crate::Writable for UDR0 {} #[doc = "USART I/O Data Register"] pub mod udr0;