mirror of
https://github.com/italicsjenga/gba.git
synced 2025-01-11 11:31:31 +11:00
More docs, and also less no-docs warnings
This commit is contained in:
parent
f99da154e8
commit
bee2d16a5b
|
@ -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"
|
||||||
|
|
|
@ -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! {
|
||||||
|
|
Loading…
Reference in a new issue