dynamic c code for get the status of the i/o ports

Hi, im new to dynamic c n rabbit processor. i need a help to find the status(voltage) of the i/o ports in rabbircore. pls let me know how to do this using dynamic c.

tnx