Hi Ali,
I don't know the tool version you're using but on the last versions, Processor Expert feature was included.
Some words about it:
++++++++++++++++++++++
Processor Expert technology is a development system to create, configure, optimize, migrate, and deliver software components for Freescale silicon.
This technology is integrated into Freescale’s CodeWarrior products supporting S08/RS08, S12(X), Coldfire, Coldfire+, Kinetis, DSC 56800/E, and some Power Architecture processors.
Processor Expert technology makes it much easier for you to deal with the low level intricacies of a hardware platform in an optimal manner.
You do not have to accept generic one-size-fits-all drivers.
You design custom peripheral drivers ideally suited to your needs, without having to know everything about the hardware.
Additional components are available online at the Freescale Component Store.
++++++++++++++++++++++
CodeWarrior™ Development Studio for Freescale HCS12(X) v5.1 is the last version.
You can download an evaluation edition on our web site via the link:
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-HCS12X
Lot of examples using Processor Expert are delivered under the installation.
You can access them via the project wizard and via the installation folder: \ProcessorExpert\Projects\Test projects
Regards
Pascal