mirror of
https://github.com/monocasa/xbvm.git
synced 2024-06-11 09:06:54 -04:00
19 lines
294 B
C++
19 lines
294 B
C++
#include "smbus/ConexantEncoder.h"
|
|
|
|
ConexantEncoder *g_conexantEncoder;
|
|
|
|
bool
|
|
ConexantEncoder::ReadCommand8( u8 command, u8 *data )
|
|
{
|
|
*data = m_registers[ command ];
|
|
return true;
|
|
}
|
|
|
|
bool
|
|
ConexantEncoder::WriteCommand8( u8 command, u8 data )
|
|
{
|
|
m_registers[ command ] = data;
|
|
return true;
|
|
}
|
|
|