Home | History | Annotate | Download | only in utility

Lines Matching refs:bit

28 #define cbi(sfr, bit) (_SFR_BYTE(sfr) &= ~_BV(bit))
32 #define sbi(sfr, bit) (_SFR_BYTE(sfr) |= _BV(bit))
79 // initialize twi prescaler and bit rate
84 /* twi bit rate formula from atmega128 manual pg 204
101 // set twi slave address (skip over TWGCE bit)
109 * Input address: 7bit i2c device address
140 // build sla+w, slave device address + w bit
167 * Input address: 7bit i2c device address
203 // build sla+w, slave device address + w bit
338 // copy device address and r/w bit to output register and ack