Add analogReference Functionality

Full functionality for analogReference:
- DEFAULT: Use VCC as ref
- INTERNAL/INTERNAL1V1: Use internal 1v1 as ref
- INTERNAL2V56: Use internal 2v56 as ref
- EXTERNAL: Use external ref (not tested!)