Microcontroller › AVR › how to make PORTB.BIT0=0; and PORTB=0x00; without any libaries › Dear,you can create your own
March 11, 2016 at 4:20 pm
#13780
Participant
Dear,
you can create your own the library for that. However, the MCU will take some time to process, it means that the power will be wasted. Atmege( attiny, or atxmega) use logic switch to turn on or turn off the bit. The reason is that it is already built in assembly instruction set so that MCU can run much faster because of having hardware support.
Have a nice day