Skip to content

Commit 81e6775

Browse files
committed
Update device.h
Activated the I2CSlave functions. Slave block read/write operations are fully supported. The slave byte read and writes need general modification to I2CSlave.cpp. See pending Issue. Activated the PWM functions. They are supported now using the SCT after updating us_ticker() to use the MRT instead of the SCT.
1 parent d9bd50c commit 81e6775

File tree

1 file changed

+2
-2
lines changed
  • libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC81X

1 file changed

+2
-2
lines changed

libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC81X/device.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
#define DEVICE_SERIAL_FC 1
3030

3131
#define DEVICE_I2C 1
32-
#define DEVICE_I2CSLAVE 0
32+
#define DEVICE_I2CSLAVE 1
3333

3434
#define DEVICE_SPI 1
3535
#define DEVICE_SPISLAVE 1
@@ -40,7 +40,7 @@
4040

4141
#define DEVICE_ETHERNET 0
4242

43-
#define DEVICE_PWMOUT 0
43+
#define DEVICE_PWMOUT 1
4444

4545
#define DEVICE_SEMIHOST 0
4646
#define DEVICE_LOCALFILESYSTEM 0

0 commit comments

Comments
 (0)