diff --git a/i2c2-target/src/lib.rs b/i2c2-target/src/lib.rs
index c0fcdfebe1980b587fa7816b8b90559cf4c61e89..d96531c0e890e3d124302d44426380a400d27e36 100644
--- a/i2c2-target/src/lib.rs
+++ b/i2c2-target/src/lib.rs
@@ -150,6 +150,10 @@ impl I2C2 {
         }
     }
 
+    /// Install a callback which will be called whenever an I²C
+    /// request arrives. This callback will decide which bytes are
+    /// sent back if a read request follows. The read operation will
+    /// be completed by zeroes as needed.
     pub fn set_callback(callback: Callback) {
         unsafe { STATE.callback = Some(callback) };
     }