code: def reset_can(self, channel=Channel.CHANNEL_CH0, flags=ResetFlags.RESET_ALL):
          
          UcanResetCanEx(self._handle, channel, flags)
docs: Resets a CAN channel of a device (hardware reset, empty buffer, and so on).
  
          :param int channel: CAN channel, to be reset (:data:`Channel.CHANNEL_CH0` or :data:`Channel.CHANNEL_CH1`).
          :param int flags: Flags defines what should be reset (see enum :class:`ResetFlags`).