GPIO Registers: Difference between revisions
Add legacy RTC registers |
|||
Line 1: | Line 1: | ||
= Registers = | = Registers = | ||
== GPIO == | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
! Name | ! Name | ||
Line 46: | Line 49: | ||
| 0x40000 | | 0x40000 | ||
|} | |} | ||
== Legacy RTC == | |||
{| class="wikitable" border="1" | |||
! Name | |||
! Address | |||
! Width | |||
! Description | |||
|- | |||
| RTC_CNT (?) | |||
| 0x10147100 | |||
| 2 | |||
| ??? | |||
|- | |||
| RTC_? | |||
| 0x10147110 | |||
| 1 | |||
| ??? | |||
|- | |||
| RTC_? | |||
| 0x10147111 | |||
| 1 | |||
| ??? | |||
|- | |||
| RTC_RAW | |||
| 0x10147120 | |||
| 4 | |||
| Byte-wise bit-swapped (bit7 is bit0, etc.) BCD RTC (byte0 = seconds, byte1 = minutes, byte2 = hours, byte3 = day(?)) | |||
|- | |||
| RTC_? | |||
| 0x10147124 | |||
| 4 | |||
| RTC offset? | |||
|- | |||
| RTC_? | |||
| 0x10147130 | |||
| 4 | |||
| ??? | |||
|- | |||
| RTC_? | |||
| 0x10147134 | |||
| 4 | |||
| ??? | |||
|- | |||
| RTC_? | |||
| 0x10147140 | |||
| 4 | |||
| Some sort of byte-wise bit-swapped seconds counter | |||
|- | |||
| RTC_? | |||
| 0x10147150 | |||
| 1 | |||
| ??? | |||
|- | |||
| RTC_? | |||
| 0x10147151 | |||
| 1 | |||
| ??? | |||
|- | |||
| RTC_? | |||
| 0x10147160 | |||
| 4 | |||
| ??? | |||
|- | |||
| RTC_? | |||
| 0x10147164 | |||
| 4 | |||
| ??? | |||
|- | |||
|} | |||
= Descriptions = | |||
== 0x10147010 == | == 0x10147010 == | ||
Line 85: | Line 159: | ||
| 0-2 | | 0-2 | ||
| Used for GPIO [[GPIO_Services|bitmask]] 0x7. | | Used for GPIO [[GPIO_Services|bitmask]] 0x7. | ||
|- | |||
| 1 | |||
| DS EXTKEYIN Pen down (0 = touching, 1 = not touching) | |||
|- | |- | ||
| 3 | | 3 |