Type in the full discussion title or a part of it.
Discussion Title Created date
__builtin_avr_insert_bits weirdness (avr-gcc)
I was wondering why whenever I assign a bit to a different bit in an output register (e.g., bit 7 in a variable to bit 0 in a register) using bit fields this code is generated:...
Friday, 14 December 2018 - 13:43
Set pin to value of variable: bit field vs __builtin_avr_insert_bits
I've tried two methods of setting a pin to the value of a variable. Am I right to assume that this:   struct bits { uint8_t b0:1, b1:1, b2:1, b3:1, b4:1, b5:1, b6:1, b7:1...
Friday, 14 September 2018 - 07:17