Definition in file smbus.h.
Go to the source code of this file.
| void Check50uS | ( | void | ) |
| void InitSMBus | ( | void | ) |
| void InitSMBvariables | ( | void | ) |
Definition at line 1618 of file smbus.c.
References PACK_DESIGNCAPTYP, SetMaxTopAcc(), SMBV_AtRate, SMBV_BattMode, SMBV_BattStatus, SMBV_CycleCount, SMBV_MfrAccess, SMBV_MfrDate, SMBV_RemCapAlm, SMBV_RemTimeAlm, SMBV_SerialNo, SMBV_SpecInfo, and SMBvar_int.
| void MasterInsertMsg | ( | unsigned char | addr, | |
| unsigned char | cmd, | |||
| unsigned int | data | |||
| ) |
| void SMB_CmdInterpreter | ( | void | ) |
Definition at line 771 of file smbus.c.
References CurrentCmd, FastCRC(), lobyte, SetGenericTimer(), SMB_GenBusTimeout, SMB_GotCmdData, SMB_ReadCmd, SMB_SetUpReply, SMB_WriteCmd, SMBerr_UnknownError, SMBerr_UnsuptdCommand, SMBfaultTimer, SMBV_BattStatus, SMBvariables, TW_RxBuf, TW_RxBufCnt, TW_RxBufIndex, TW_TxBuf, TW_TxBufCnt, TW_TxBufIndex, TWI_CmdFlags, and UsePEC.
| void SMB_Master | ( | void | ) |
Definition at line 694 of file smbus.c.
References FastCRC(), SMLOCK, TEST50US, TW_IDLE, TW_MTxBuf, TW_MTxBufCnt, TW_MTxBufIndex, TWISR_state, TXmsg, TXmsgEmpty, TXmsgTail, and UsePEC.
| void SMB_RestoreBus | ( | void | ) |
| union { ... } SV |
1.5.3