Skip to content

Commit 2f2f4d6

Browse files
committed
Update objects.h
Added PWM object.
1 parent 81e6775 commit 2f2f4d6

File tree

1 file changed

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

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ struct spi_s {
4343
unsigned char spi_n;
4444
};
4545

46+
struct pwmout_s {
47+
LPC_SCT_TypeDef* pwm;
48+
uint32_t pwm_ch;
49+
};
50+
4651
#include "gpio_object.h"
4752

4853
#ifdef __cplusplus

0 commit comments

Comments
 (0)