Freescale at the company written by SCMMC9S12G128 16-bit microcontroller peripheral drive driver program, includes peripherals: CAN, the Republic SPI, IIC, and ADC, and RTC, the Republic ECT, and EEPROM, GPIO, and Flash, and PWM and watchdog. All of the drive driver, debug through. Secondary development and can be used for reference.
File list:
driver
.....\CVS
.....\...\Entries
.....\...\Entries.Extra
.....\...\Entries.Extra.Old
.....\...\Entries.Old
.....\...\Repository
.....\...\Root
.....\include
.....\.......\CVS
.....\.......\...\Entries
.....\.......\...\Entries.Extra
.....\.......\...\Entries.Extra.Old
.....\.......\...\Entries.Old
.....\.......\...\Repository
.....\.......\...\Root
.....\.......\adc.h
.....\.......\build_control.h
.....\.......\can.h
.....\.......\clock.h
.....\.......\cpu_sleep.h
.....\.......\eeprom.h
.....\.......\flash.h
.....\.......\gpio.h
.....\.......\gpio_private.h
.....\.......\hacg_can.h
.....\.......\hidef.h
.....\.......\io_vars.h
.....\.......\mc9s12g128.h
.....\.......\mc9s12g128.inc
.....\.......\nt_iso15765_lib.h
.....\.......\platform_config.h
.....\.......\pwm.h
.....\.......\readme.txt
.....\.......\spi.h
.....\.......\spi_config.h
.....\.......\timer.h
.....\.......\typedefs.h
.....\.......\utils.h
.....\.......\watchdog.h
.....\lib
.....\...\CVS
.....\...\...\Entries
.....\...\...\Entries.Extra
.....\...\...\Entries.Extra.Old
.....\...\...\Entries.Old
.....\...\...\Repository
.....\...\...\Root
.....\...\nt_iso15765_lib.lib
.....\...\readme.txt
.....\source
.....\......\CVS
.....\......\...\Entries
.....\......\...\Entries.Extra
.....\......\...\Entries.Extra.Old
.....\......\...\Entries.Old
.....\......\...\Repository
.....\......\...\Root
.....\......\.#spi.c.1.8
.....\......\.#spi.c.1.9
.....\......\adc.c
.....\......\can.c
.....\......\clock.c
.....\......\cpu_sleep.c
.....\......\eeprom.c
.....\......\flash.c
.....\......\gpio.c
.....\......\hacg_can.c
.....\......\io_vars.c
.....\......\mc9s12g128.c
.....\......\nt_iso15765_lib.c
.....\......\pwm.c
.....\......\readme.txt
.....\......\spi.c
.....\......\timer.c
.....\......\utils.c
.....\......\vector_tab.c
.....\......\watchdog.c