Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all articles
Browse latest Browse all 3049

ARM: I2C interrupt or polling

$
0
0
Hi, I am using NXP LPC1837 controller as a master and it is supposed to talk to other devices over I2C. The firmware is based on Keil V5. In the firmware code, I2C was initialized without defining a callback function as follows: #include "Driver_I2C.h" #include "cmsis_os.h" ... some code.... ARM_DRIVER_I2C Driver_I2C0; ARM_DRIVER_I2C * I2C_drv = &Driver_I2C0; ... some code.... I2C_drv->

Viewing all articles
Browse latest Browse all 3049

Latest Images

Trending Articles



Latest Images