Created a bitmask check when setting the adc trigger source
Now also spelled BITMASK_CHECK correctly
Added const prefix where possible