|
void SmbInit(void)
{
SMB0CN = 0x00; // SMBus Control Register
SMB0ADR = 0x00; // SMBus Address Register
SMB0CR = 148; // SMBus Clock Rate Register 50KHz=148/100Khz=202)
SMB0DAT=Write;
SMB0CN = 0x40; // SMBus Control Register
XBR0|=0x01;
WaitClrBusy();
}
E-mail: info@telesys.ru