2016-04-26 10:51:14 -07:00
|
|
|
#[repr(packed)]
|
2018-02-04 22:10:28 +11:00
|
|
|
pub struct P1S5 {
|
2016-04-26 10:51:14 -07:00
|
|
|
a: u8,
|
|
|
|
b: u32
|
2015-03-18 22:05:24 +01:00
|
|
|
}
|
2018-02-04 22:10:28 +11:00
|
|
|
|
|
|
|
#[repr(packed(2))]
|
|
|
|
pub struct P2S6 {
|
|
|
|
a: u8,
|
|
|
|
b: u32,
|
|
|
|
c: u8
|
|
|
|
}
|
|
|
|
|
|
|
|
#[repr(C, packed(2))]
|
|
|
|
pub struct P2CS8 {
|
|
|
|
a: u8,
|
|
|
|
b: u32,
|
|
|
|
c: u8
|
|
|
|
}
|