Added mc1322x functions

Learned from pull request #594. Added some new functions for hardware usage on mc1322x.