Update objects.h

Added PWM object.
pull/906/head
Wim 2015-02-11 22:42:35 +01:00
parent 81e67758fa
commit 2f2f4d67bc
1 changed files with 5 additions and 0 deletions

View File

@ -43,6 +43,11 @@ struct spi_s {
unsigned char spi_n; unsigned char spi_n;
}; };
struct pwmout_s {
LPC_SCT_TypeDef* pwm;
uint32_t pwm_ch;
};
#include "gpio_object.h" #include "gpio_object.h"
#ifdef __cplusplus #ifdef __cplusplus