Pin Muxing of the Beagle Bone

I am new to Beagle Bone.I am using CCS to run some starterware examples.I donnot understand pin muxing.I understand that every pin is mutiplexed. How can I obtain a specific function on any pin??.
Any help is highly appreciated.

Regards Savitha

You set the pin mux registers in order to set each pin to which ever
mode you desire for your application. The default mode is usually GPIO
but the AM335x data sheet will tell you exactly the mode out of reset
and what other options are available.

For a good overview of all the mux options for the BeagleBone headers,
see [1].



How do you change the pin mux in starterware?