45 unsigned long data ) {
46 basher->
op->
write ( basher, bit_id, (
data ? -1UL : 0 ) );
61 return ( basher->
op->
read ( basher, bit_id ) ? -1UL : 0 );
struct bit_basher_operations * op
Bit-bashing operations.
int(* read)(struct bit_basher *basher, unsigned int bit_id)
Read input bit.
int read_bit(struct bit_basher *basher, unsigned int bit_id)
Read input bit.
void(* write)(struct bit_basher *basher, unsigned int bit_id, unsigned long data)
Set/clear output bit.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
uint8_t data[48]
Additional event data.
void write_bit(struct bit_basher *basher, unsigned int bit_id, unsigned long data)
Set/clear output bit.