code: func (p *adxl345PowerCtl) toByte() (bits uint8) {
  	bits = 0x00
  	bits = bits | (p.link << 5)
  	bits = bits | (p.autoSleep << 4)
  	bits = bits | (p.measure << 3)
  	bits = bits | (p.sleep << 2)
  	bits = bits | p.wakeUp
  
  	return bits
  }
docs: // toByte returns a byte from the powerCtl configuration