IOSetDir(LED_PORT, LED_PIN, OUTPUT);
This is a very simple case. Its great to have vendor independent setup. However, in most cases you need to provide a lot of addresses in order to setup your periferal. Even for a simple output you might need to provide registers for pullups, negative logic, interupts, etc... How do you do that in an effeicient and modular way?
Share this highlighthttp://www.safaribooksonline.com/a/making-embedded-systems/8930944/