uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
PWM_COUNTERCFG_Type Struct Reference

Configuration structure in PWM COUNTER mode. More...

#include <lpc17xx_pwm.h>

Public Attributes

uint8_t CounterOption
 
uint8_t CountInputSelect
 
uint8_t Reserved [2]
 

Detailed Description

Configuration structure in PWM COUNTER mode.

Definition at line 162 of file lpc17xx_pwm.h.

Member Data Documentation

uint8_t PWM_COUNTERCFG_Type::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 164 of file lpc17xx_pwm.h.

uint8_t PWM_COUNTERCFG_Type::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 169 of file lpc17xx_pwm.h.

uint8_t PWM_COUNTERCFG_Type::Reserved[2]

Definition at line 173 of file lpc17xx_pwm.h.


The documentation for this struct was generated from the following file: