EasyManuals Logo

Texas Instruments C2000 Workshop Guide And Lab Manual

Texas Instruments C2000
342 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #156 background imageLoading...
Page #156 background image
ePWM
7 - 30 C2000 Microcontroller Workshop - Control Peripherals
ePWM Digital Compare and Trip-Zone
Sub-Module Registers
(lab file: EPwm.c)
Name Description Structure
DCACTL DC A Control EPwmxRegs.DCACTL.all =
DCBCTL DC B Control EPwmxRegs.DCBCTL.all =
DCTRIPSEL DC Trip Select EPwmxRegs.DCTRIPSEL.all =
DCCAPCTL Capture Control EPWMxRegs.DCCAPCTL.all =
DCCAP Counter Capture EPwmxRegs.DCCAP =
DCFCTL DC Filter Control EPwmxRegs.DCFCTL.all =
DCFOFFSETCNT Filter Offset Ctr EPwmxRegs.DCOFFSETCNT =
DCFWINDOW Filter Window EPwmxRegs.DCFWINDOW =
DCFWINDOWCNT Filter Window Ctr EPwmxRegs.DCFWINDOWCNT =
TZDCSEL Digital Compare EPwmxRegs.TZDCSEL.all =
TZCTL Trip-Zone Control EPwmxRegs.TZCTL.all =
TZSEL Trip-Zone Select EPwmxRegs.TZSEL.all =
TZEINT Enable Interrupt EPwmxRegs.TZEINT.all =
TZFLG Trip-Zone Flag EPwmxRegs.TZFLG.all =
TZCLR Trip-Zone Clear EPwmxRegs.TZCLR.all =
TZFRC Trip-Zone Force EPwmxRegs.TZFRC.all =
ePWM Digital Compare Trip Select
Register
EPwmxRegs.DCTRIPSEL
DCBLCOMPSEL
15 - 12 11 - 8
7 - 4 3 - 0
DCBHCOMPSEL
DCALCOMPSEL DCAHCOMPSEL
Digital Compare B
Low Input Source Select
Digital Compare B
High Input Source Select
Digital Compare A
Low Input Source Select
Digital Compare A
High Input Source Select
0000 = TZ1 input
0001 = TZ2 input
0010 = TZ3 input
1000 = COMP1OUT input
1001 = COMP2OUT input
1010 = COMP3OUT input
other values reserved

Table of Contents

Other manuals for Texas Instruments C2000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments C2000 and is the answer not in the manual?

Texas Instruments C2000 Specifications

General IconGeneral
BrandTexas Instruments
ModelC2000
CategoryMicrocontrollers
LanguageEnglish

Related product manuals