Changes

Jump to navigation Jump to search
602 bytes added ,  05:55, 6 August 2011
Line 35: Line 35:  
== Camera registers ==
 
== Camera registers ==
   −
The cameras are controlled and initialized with [[I2C_Bus#Cameras|I2C]]. For retrieving camera video data, [[NDMA]] with arm9 startup mode 11(camera) is used. Source register is 0x04004204, transferred length varies.
+
The cameras are controlled and initialized with [[I2C_Bus#Cameras|I2C]]. The below registers are accessed by the arm9.
 +
 
 +
{| class="wikitable" border="1"
 +
|-
 +
!  ADDRESS
 +
!  WIDTH
 +
!  NAME
 +
|-
 +
|  0x04004200
 +
|  2
 +
|  REG_CAMUNK
 +
|-
 +
|  0x04004202
 +
|  2
 +
|  REG_CAMCNT
 +
|-
 +
|  0x04004204
 +
|  4
 +
|  REG_CAMDATA
 +
|}
 +
 
 +
== REG_CAMUNK ==
 +
{| class="wikitable" border="1"
 +
|-
 +
!  BIT
 +
!  DESCRIPTION
 +
|-
 +
| 15-0
 +
| ?
 +
|}
 +
 
 +
== REG_CAMCNT ==
 +
{| class="wikitable" border="1"
 +
|-
 +
!  BIT
 +
!  DESCRIPTION
 +
|-
 +
| 13-0
 +
| ?
 +
|-
 +
| 14
 +
| ?
 +
|-
 +
| 15
 +
| Frame transfer enable
 +
|}
 +
 
 +
== REG_CAMDATA ==
 +
{| class="wikitable" border="1"
 +
|-
 +
!  BIT
 +
!  DESCRIPTION
 +
|-
 +
| 31-0
 +
| Video data
 +
|}
 +
 
 +
For retrieving camera video data, [[NDMA]] with arm9 startup mode 11(camera) is used with this src register. Transferred length varies per resolution. In the video data, each pixel is 2 bytes.
    
== See also ==
 
== See also ==

Navigation menu