[FE training-materials-updates] Explicit i2c communication lab instructions
Michael Opdenacker
michael.opdenacker at free-electrons.com
Wed Nov 16 15:08:45 CET 2016
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=6f77798b8bdfa3f7251f80ea1f7cc1932cf07808
>---------------------------------------------------------------
commit 6f77798b8bdfa3f7251f80ea1f7cc1932cf07808
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date: Wed Nov 16 15:08:45 2016 +0100
Explicit i2c communication lab instructions
Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>
>---------------------------------------------------------------
6f77798b8bdfa3f7251f80ea1f7cc1932cf07808
labs/kernel-i2c-communication/kernel-i2c-communication.tex | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/labs/kernel-i2c-communication/kernel-i2c-communication.tex b/labs/kernel-i2c-communication/kernel-i2c-communication.tex
index 76c4519..8cae025 100644
--- a/labs/kernel-i2c-communication/kernel-i2c-communication.tex
+++ b/labs/kernel-i2c-communication/kernel-i2c-communication.tex
@@ -168,8 +168,9 @@ sure i2c communication works as expected.
In the probe routine (run every time a matching device is found):
\begin{enumerate}
-\item Using the I2C raw API (see the slides), send two bytes to the
- device: \code{0xf0} and \code{0x55}\footnote{
+\item Using the I2C raw API (\code{i2c_master_send()} and
+ \code{i2c_master_recv()}), send two bytes to the
+ device: \code{0xf0} and \code{0x55}\footnote{
The I2C messages to communicate with a wiimote
extension are in the form: \code{<i2c_address> <register> }
for reading and \code{<i2c_address> <register> <value>} for
More information about the training-materials-updates
mailing list