Introduction - If you have any usage issues, please Google them yourself
C8051F MCU acceleration sensor MMA845X generic driver, you can simply modify the definition of IO ports ported to different microcontrollers, the program has been used in the product.