feat: add clear_buffer input to tx
fix: make slave work
feat: handle ack in rx, tx
feat: add i2c slave state entity