Logo Search packages:      
Sourcecode: odyssey version File versions

void PicDevice::pic_off ( void   )  [protected, virtual]

Turn off the PIC device. This will set the clock and data lines to low and shut off both Vpp and Vcc.

Definition at line 154 of file PicDevice.cxx.

References Device::io, IO::set_clk(), IO::set_data(), IO::set_pwr(), and IO::set_vpp().

Referenced by Pic16f8xxDevice::bulk_erase(), Pic16f6xxDevice::bulk_erase(), Pic16Device::bulk_erase(), Pic16f8xxDevice::disable_codeprotect(), Pic16f87xADevice::disable_codeprotect(), Pic18Device::erase(), Pic16Device::erase(), Pic18Device::program(), Pic16Device::program(), Pic18Device::read(), and Pic16Device::read().

                            {
      /* Shut everything down */
      this->io->set_clk(false);
      this->io->set_data(false);
      this->io->set_vpp(false);
      this->io->set_pwr(false);
}


Generated by  Doxygen 1.6.0   Back to index