diff --git a/training-slides/src/pac-svd2rust.md b/training-slides/src/pac-svd2rust.md index 65f647d5..022fadbe 100644 --- a/training-slides/src/pac-svd2rust.md +++ b/training-slides/src/pac-svd2rust.md @@ -81,6 +81,7 @@ uart0_reg_t* const p_uart = (uart0_reg_t*) 0x40002000; ## Structures in Rust ```rust [] ignore +#[repr(C)] pub struct Uart0 { pub tasks_startrx: VolatileCell, // @ 0x000 pub tasks_stoprx: VolatileCell, // @ 0x004