mirror of
https://github.com/wiiu-env/libkernel.git
synced 2024-11-26 22:54:16 +01:00
25 lines
319 B
C
25 lines
319 B
C
|
#pragma once
|
||
|
|
||
|
#include <stdint.h>
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
typedef struct _sr_table_t {
|
||
|
uint32_t value[16];
|
||
|
uint32_t sdr1;
|
||
|
} sr_table_t;
|
||
|
|
||
|
typedef struct _bat_t {
|
||
|
uint32_t h;
|
||
|
uint32_t l;
|
||
|
} bat_t;
|
||
|
|
||
|
typedef struct _bat_table_t {
|
||
|
bat_t bat[8];
|
||
|
} bat_table_t;
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|