Line 87: |
Line 87: |
| | WriteCommand8 (u8 devid, u8 cmdid) | | | WriteCommand8 (u8 devid, u8 cmdid) |
| |- | | |- |
− | | 0x0007.... | + | | 0x000700C0 |
| | | | | |
− | | WriteRegister16 (u8 devid, u16 regid, u16 regdata) | + | | WriteRegister16 (u8 devid, u8 regid, u16 regdata) |
| |- | | |- |
| | 0x000800C2 | | | 0x000800C2 |
Line 99: |
Line 99: |
| | u8 ReadRegister8 (u8 devid, u8 regid) | | | u8 ReadRegister8 (u8 devid, u8 regid) |
| |- | | |- |
− | | 0x000A.... | + | | 0x000A0080 |
| | | | | |
− | | u16 ReadRegister16 (u8 devid, u16 regid) | + | | u16 ReadRegister16 (u8 devid, u8 regid) |
| |- | | |- |
| | 0x000B00C2 | | | 0x000B00C2 |
Line 117: |
Line 117: |
| | 0x000E00C2 | | | 0x000E00C2 |
| | | | | |
− | | WriteRegisterBuffer8_again? (u8 devid, u8 regid, buffersize, u8* bufferptr) | + | | WriteRegisterBuffer (u8 devid, u8 regid, unused (bufsize?), (bufsize << 14) <nowiki>|</nowiki> 0x402, void* buffer) |
| |- | | |- |
| | 0x000F00C0 | | | 0x000F00C0 |
| | | | | |
− | | | + | | ReadRegisterBuffer (u8 devid, u8 regid, min(bufsize, 0x20)), +0x180: (bufsize << 14) <nowiki>|</nowiki> 2, void* buffer |
| |- | | |- |
− | | 0x0010.... | + | | 0x001000C0 |
− | |
| |
| | | | | |
| + | | ReadEEPROM (u8 devid = 14, u16 blockid, min(bufsize >> 1, 0x10)), +0x180: (bufsize << 15) <nowiki>|</nowiki> 2, u16* buffer |
| |- | | |- |
| | 0x001100C2 | | | 0x001100C2 |
| | | | | |
− | | WriteRegisterBuffer(u8 devid, u16 regid, buffersize, u8 *buff) | + | | WriteRegisterBuffer(u8 devid, u8 regid, buffersize, u8 *buff) |
| |- | | |- |
| | 0x001200C2 | | | 0x001200C2 |
| | | | | |
− | | ReadRegisterBuffer(u8 devid, u16 regid, buffersize, u8 *buff) | + | | ReadRegisterBuffer(u8 devid, u8 regid, buffersize, u8 *buff) |
| |- | | |- |
| | 0x00130040 | | | 0x00130040 |