avr-something

Something something AVR side…
git clone git://henryandlizzy.uk/avr-something
Log | Files | Refs | README

ctrl.h (164B)


      1 #pragma once
      2 #include "utils.h"
      3 
      4 namespace ctrl
      5 {
      6 extern volatile uint8_t& mcu;
      7 
      8 inline void disableJTAG()
      9 {
     10 	auto tmp = mcu | bit(7);
     11 	mcu = tmp;
     12 	mcu = tmp;
     13 }
     14 
     15 }