Cleanup one function at a time. Use the correct doxygen references, use unshifted forms in user facing apis. Yes, only the trigger at the moment, as the polarity is shared. Signed-off-by: Karl Palsson <karlp@tweak.au>