K20 MCU PWMs and UARTs using

hi i am using above boards
my enquiry is , how to access k20 all uarts and pwms, how to write our own firmware