Introduction - If you have any usage issues, please Google them yourself
This code is based on NXP s serial port expansion chip SC16IS752 driver. This chip can be used IIC or SPI interface control, both programs have, and is based on the C51 code. Easy to understand, easy to transplant.