unsigned char *p; p = 0x10; /* point it to device register */ *p = 5; /* write to the device register */
Each pixel on the screen is controlled by 3 memory locations, corresponding to R, G and B.
But how does the USB mouse / keyboard talk to the CPU?
Address | Name | Description |
---|---|---|
0x4006_E000 |
SCR |
SRC Control Register |
0x4006_E004 |
SBMR1 |
SRC Boot Mode Register 1 |
0x4006_E008 |
SRSR |
SRC Status Register |
U-Boot> md 0x4006E000 1
U-Boot> mw 0x4006E000 0x1000