The 'general' code set sends commands that rely on the following 1-Wire Net link-level functions. The following is a description of the API needed to port this code set to any platform. See the 'TODO.C' and 'TODOSES.C' files in the directory '\source\lib\general'. Required API that must be implemented for the 'general' code set to function: MLanTouchReset Reset all devices on MicroLAN(1-Wire Net). Result of function indicates if any devices were detected. MLanTouchBit Send and receive 1 bit from MicroLAN(1-Wire Net) API that can be generated from the required API: MLanTouchByte Send and receive 8 bits from MicroLAN(1-Wire Net). This can be contructed from 8 calls to MLanTouchBit but it may be for efficient to create this API. MLanWriteByte Send 8 bits to MicroLAN(1-Wire Net) and verify the echo received matches. (constructed from MLanTouchByte) MLanReadByte Receive 8 bits from MicroLAN(1-Wire Net) by sending all 1's (0xFF) and letting the slave change the echo. (constructed from MLanTouchByte) Optional API that may be needed for the platform or for a specific application. MLanSpeed Set the communication speed MicroLAN(1-Wire Net) to Normal (16K bits) or Overdrive (142K bits). All 1-Wire devices at least support the Normal communication rate. This API need only be implimented if Overdrive communication rate is desired. MLanLevel Set the MicroLAN(1-Wire Net) line level to Normal (5V weak pullup), Power Delivery (5V strong pullup), or Program Level (12V EPROM programming level). Power delivery only required by some 1-Wire devices such as the DS1820, DS2450, and DS1954. Programming level only required to write EPROM based memory 1-Wire devices. MLanProgramPulse Timed programming pulse for EPROM 1-Wire device writing. Can be constructed from MLanLevel. Only required to write EPROM based memory 1-Wire devices. msGettick Return an increment millisecond counter. This is used in several of the sample applications. msDelay Delay at least the specified number of milliseconds. This is used in several of the sample applications.