Skip to content

Commit

Permalink
More DRX definitions (#385)
Browse files Browse the repository at this point in the history
* More DRX definitions

Changed DRH state names, notably:
UNK0-> NORADIO
UNK1-> WII
UNK2-> [not renamed]
UNK3-> NODRC
UNK7F-> [not renamed]

DRC EEPROM now defined as data instead of being unknown.
More info yet to be added.

* Unneeded comment removed
  • Loading branch information
team-orangeBlue authored Jun 18, 2024
1 parent a1de926 commit 263c036
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions include/nsysccr/cdc.h
Original file line number Diff line number Diff line change
Expand Up @@ -141,13 +141,13 @@ typedef enum CCRCDCExt

typedef enum CCRCDCDrhStateEnum
{
CCR_CDC_SYS_DRH_STATE_UNK0 = 0x00,
CCR_CDC_SYS_DRH_STATE_UNK1 = 0x01,
CCR_CDC_SYS_DRH_STATE_UNK2 = 0x02,
CCR_CDC_SYS_DRH_STATE_UNK3 = 0x03,
CCR_CDC_SYS_DRH_STATE_ECO = 0x04,
CCR_CDC_SYS_DRH_STATE_UNK7F = 0x7F,
CCR_CDC_SYS_DRH_STATE_CAFE = 0xFF,
CCR_CDC_SYS_DRH_STATE_NORADIO = 0x00,
CCR_CDC_SYS_DRH_STATE_WII = 0x01,
CCR_CDC_SYS_DRH_STATE_UNK2 = 0x02,
CCR_CDC_SYS_DRH_STATE_NODRC = 0x03,
CCR_CDC_SYS_DRH_STATE_ECO = 0x04,
CCR_CDC_SYS_DRH_STATE_UNK7F = 0x7F,
CCR_CDC_SYS_DRH_STATE_CAFE = 0xFF,
} CCRCDCDrhStateEnum;

struct WUT_PACKED CCRCDCMacAddress
Expand Down Expand Up @@ -190,9 +190,10 @@ WUT_CHECK_SIZE(CCRCDCSysMessage, 0x4);
struct WUT_PACKED CCRCDCEepromData
{
uint32_t version;
WUT_UNKNOWN_BYTES(0x300);
uint8_t data[0x300];
};
WUT_CHECK_OFFSET(CCRCDCEepromData, 0x0, version);
WUT_CHECK_OFFSET(CCRCDCEepromData, 0x4, data);
WUT_CHECK_SIZE(CCRCDCEepromData, 0x304);

struct WUT_PACKED CCRCDCWowlWakeDrcArg
Expand Down

0 comments on commit 263c036

Please sign in to comment.