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

Match channel configuration structure. More...

#include <lpc17xx_timer.h>

Public Attributes

uint8_t MatchChannel
 
uint8_t IntOnMatch
 
uint8_t StopOnMatch
 
uint8_t ResetOnMatch
 
uint8_t ExtMatchOutputType
 
uint8_t Reserved [3]
 
uint32_t MatchValue
 

Detailed Description

Match channel configuration structure.

Definition at line 247 of file lpc17xx_timer.h.

Member Data Documentation

uint8_t TIM_MATCHCFG_Type::ExtMatchOutputType
    External Match Output type, should be:
  • TIM_EXTMATCH_NOTHING: Do nothing for external output pin if match
  • TIM_EXTMATCH_LOW: Force external output pin to low if match
  • TIM_EXTMATCH_HIGH: Force external output pin to high if match
  • TIM_EXTMATCH_TOGGLE: Toggle external output pin if match.

Definition at line 263 of file lpc17xx_timer.h.

uint8_t TIM_MATCHCFG_Type::IntOnMatch
 Interrupt On match, should be:
  • ENABLE: Enable this function.
  • DISABLE: Disable this function.

Definition at line 250 of file lpc17xx_timer.h.

uint8_t TIM_MATCHCFG_Type::MatchChannel
 Match channel, should be in range

from 0..3

Definition at line 248 of file lpc17xx_timer.h.

uint32_t TIM_MATCHCFG_Type::MatchValue

Reserved

Definition at line 270 of file lpc17xx_timer.h.

uint8_t TIM_MATCHCFG_Type::Reserved[3]

Definition at line 269 of file lpc17xx_timer.h.

uint8_t TIM_MATCHCFG_Type::ResetOnMatch
 Reset On match, should be:
  • ENABLE: Enable this function.
  • DISABLE: Disable this function.

Definition at line 258 of file lpc17xx_timer.h.

uint8_t TIM_MATCHCFG_Type::StopOnMatch
 Stop On match, should be:
  • ENABLE: Enable this function.
  • DISABLE: Disable this function.

Definition at line 254 of file lpc17xx_timer.h.


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