def setOversampleBits(self, bits): """Set the number of oversample bits. This sets the number of oversample bits. The actual number of oversampled values is 2^bits. The oversampling is done automatically in the FPGA. :param bits: The number of oversample bits. """ hal.setAnalogOversampleBits(self.port, bits)