Added draft of most basic functions!

Added definitions of basic functions like start/stop and
enable/disable clocks for each channel. Also for reading
counter values.