More docs, and also less no-docs warnings

This commit is contained in:
Lokathor 2018-12-27 23:34:12 -07:00
parent f99da154e8
commit bee2d16a5b
2 changed files with 5 additions and 5 deletions

View file

@ -13,7 +13,7 @@ publish = false
[dependencies] [dependencies]
typenum = "1.10" typenum = "1.10"
gba-proc-macro = "0.4" gba-proc-macro = "0.4.1"
#[dev-dependencies] #[dev-dependencies]
#quickcheck="0.7" #quickcheck="0.7"

View file

@ -2,13 +2,13 @@
use super::*; use super::*;
// BG0 Control. Read/Write. Display Mode 0/1 only. /// BG0 Control. Read/Write. Display Mode 0/1 only.
pub const BG0CNT: VolAddress<BackgroundControlSetting> = unsafe { VolAddress::new_unchecked(0x400_0008) }; pub const BG0CNT: VolAddress<BackgroundControlSetting> = unsafe { VolAddress::new_unchecked(0x400_0008) };
// BG1 Control. Read/Write. Display Mode 0/1 only. /// BG1 Control. Read/Write. Display Mode 0/1 only.
pub const BG1CNT: VolAddress<BackgroundControlSetting> = unsafe { VolAddress::new_unchecked(0x400_000A) }; pub const BG1CNT: VolAddress<BackgroundControlSetting> = unsafe { VolAddress::new_unchecked(0x400_000A) };
// BG2 Control. Read/Write. Display Mode 0/1/2 only. /// BG2 Control. Read/Write. Display Mode 0/1/2 only.
pub const BG2CNT: VolAddress<BackgroundControlSetting> = unsafe { VolAddress::new_unchecked(0x400_000C) }; pub const BG2CNT: VolAddress<BackgroundControlSetting> = unsafe { VolAddress::new_unchecked(0x400_000C) };
// BG3 Control. Read/Write. Display Mode 0/2 only. /// BG3 Control. Read/Write. Display Mode 0/2 only.
pub const BG3CNT: VolAddress<BackgroundControlSetting> = unsafe { VolAddress::new_unchecked(0x400_000E) }; pub const BG3CNT: VolAddress<BackgroundControlSetting> = unsafe { VolAddress::new_unchecked(0x400_000E) };
newtype! { newtype! {