Date: 2014-10-15 05:22 pm (UTC)
Никак не могу понять, что означают эти строки :-(
#define FASTADC 1 // defines for setting and clearing register bits
#ifndef cbi
#define cbi(sfr, bit) (_SFR_BYTE(sfr) &= ~_BV(bit))
#endif
#ifndef sbi
#define sbi(sfr, bit) (_SFR_BYTE(sfr) |= _BV(bit))
#endif

Как это работает и зачем они вообще нужны ?
Почему было не написать в понятном виде, типа:
http://www.arduino.cc/en/Reference/PortManipulation-
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

slava68: (Default)
slava68

February 2026

S M T W T F S
1234567
891011121314
15161718192021
22232425262728

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 14th, 2026 06:02 am
Powered by Dreamwidth Studios