public int /* reg12 */output() {
		// It may seem cleaner to use an array of member functions to return
		// waveform output; however a switch with inline functions is faster.

		switch (waveform) {
		default:
		case 0x0:
			return output____();
		case 0x1:
			return output___T();
		case 0x2:
			return output__S_();
		case 0x3:
			return output__ST();
		case 0x4:
			return output_P__();
		case 0x5:
			return output_P_T();
		case 0x6:
			return output_PS_();
		case 0x7:
			return output_PST();
		case 0x8:
			return outputN___();
		case 0x9:
			return outputN__T();
		case 0xa:
			return outputN_S_();
		case 0xb:
			return outputN_ST();
		case 0xc:
			return outputNP__();
		case 0xd:
			return outputNP_T();
		case 0xe:
			return outputNPS_();
		case 0xf:
			return outputNPST();
		}
	}
public int output ( ) { switch ( waveform ) { default : case 0x0 : return output____ ( ) ; case 0x1 : return output___T ( ) ; case 0x2 : return output__S_ ( ) ; case 0x3 : return output__ST ( ) ; case 0x4 : return output_P__ ( ) ; case 0x5 : return output_P_T ( ) ; case 0x6 : return output_PS_ ( ) ; case 0x7 : return output_PST ( ) ; case 0x8 : return outputN___ ( ) ; case 0x9 : return outputN__T ( ) ; case 0xa : return outputN_S_ ( ) ; case 0xb : return outputN_ST ( ) ; case 0xc : return outputNP__ ( ) ; case 0xd : return outputNP_T ( ) ; case 0xe : return outputNPS_ ( ) ; case 0xf : return outputNPST ( ) ; } }
12-bit waveform output. Select one of 16 possible combinations of
waveforms.

@return