Add DAC control and global.h for common define