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 ucsr1a: UCSR1A, #[doc = "0x01 - USART Control and Status Register B"] pub ucsr1b: UCSR1B, #[doc = "0x02 - USART Control and Status Register C"] pub ucsr1c: UCSR1C, _reserved3: [u8; 1usize], #[doc = "0x04 - USART Baud Rate Register Bytes"] pub ubrr1: UBRR1, #[doc = "0x06 - USART I/O Data Register"] pub udr1: UDR1, } #[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 [ubrr1](ubrr1) module"] pub type UBRR1 = crate::Reg<u16, _UBRR1>; #[allow(missing_docs)] #[doc(hidden)] pub struct _UBRR1; #[doc = "`read()` method returns [ubrr1::R](ubrr1::R) reader structure"] impl crate::Readable for UBRR1 {} #[doc = "`write(|w| ..)` method takes [ubrr1::W](ubrr1::W) writer structure"] impl crate::Writable for UBRR1 {} #[doc = "USART Baud Rate Register Bytes"] pub mod ubrr1; #[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 [ucsr1a](ucsr1a) module"] pub type UCSR1A = crate::Reg<u8, _UCSR1A>; #[allow(missing_docs)] #[doc(hidden)] pub struct _UCSR1A; #[doc = "`read()` method returns [ucsr1a::R](ucsr1a::R) reader structure"] impl crate::Readable for UCSR1A {} #[doc = "`write(|w| ..)` method takes [ucsr1a::W](ucsr1a::W) writer structure"] impl crate::Writable for UCSR1A {} #[doc = "USART Control and Status Register A"] pub mod ucsr1a; #[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 [ucsr1b](ucsr1b) module"] pub type UCSR1B = crate::Reg<u8, _UCSR1B>; #[allow(missing_docs)] #[doc(hidden)] pub struct _UCSR1B; #[doc = "`read()` method returns [ucsr1b::R](ucsr1b::R) reader structure"] impl crate::Readable for UCSR1B {} #[doc = "`write(|w| ..)` method takes [ucsr1b::W](ucsr1b::W) writer structure"] impl crate::Writable for UCSR1B {} #[doc = "USART Control and Status Register B"] pub mod ucsr1b; #[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 [ucsr1c](ucsr1c) module"] pub type UCSR1C = crate::Reg<u8, _UCSR1C>; #[allow(missing_docs)] #[doc(hidden)] pub struct _UCSR1C; #[doc = "`read()` method returns [ucsr1c::R](ucsr1c::R) reader structure"] impl crate::Readable for UCSR1C {} #[doc = "`write(|w| ..)` method takes [ucsr1c::W](ucsr1c::W) writer structure"] impl crate::Writable for UCSR1C {} #[doc = "USART Control and Status Register C"] pub mod ucsr1c; #[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 [udr1](udr1) module"] pub type UDR1 = crate::Reg<u8, _UDR1>; #[allow(missing_docs)] #[doc(hidden)] pub struct _UDR1; #[doc = "`read()` method returns [udr1::R](udr1::R) reader structure"] impl crate::Readable for UDR1 {} #[doc = "`write(|w| ..)` method takes [udr1::W](udr1::W) writer structure"] impl crate::Writable for UDR1 {} #[doc = "USART I/O Data Register"] pub mod udr1;