NXP's driver library for LPC17xx, ported to mbed's online compiler. Not tested! I had to fix a lot of warings and found a couple of pretty obvious bugs, so the chances are there are more. Original: http://ics.nxp.com/support/documents/microcontrollers/zip/lpc17xx.cmsis.driver.library.zip
PWM_COUNTERCFG_Type Struct Reference
[PWM_Public_Types]
Configuration structure in PWM COUNTER mode. More...
#include <lpc17xx_pwm.h>
Data Fields | |
uint8_t | CounterOption |
Counter Option, should be:
| |
uint8_t | CountInputSelect |
Counter input select, should be:
|
Detailed Description
Configuration structure in PWM COUNTER mode.
Definition at line 155 of file lpc17xx_pwm.h.
Field Documentation
uint8_t CounterOption |
Counter Option, should be:
- PWM_COUNTER_RISING: Rising Edge
- PWM_COUNTER_FALLING: Falling Edge
- PWM_COUNTER_ANY: Both rising and falling mode.
Definition at line 157 of file lpc17xx_pwm.h.
uint8_t CountInputSelect |
Counter input select, should be:
- PWM_COUNTER_PCAP1_0: PWM Counter input selected is PCAP1.0 pin
- PWM_COUNTER_PCAP1_1: PWM Counter input selected is PCAP1.1 pin.
Definition at line 162 of file lpc17xx_pwm.h.
Generated on Tue Jul 12 2022 17:06:04 by 1.7.2