forkd

Dependencies:   mbed

Fork of LGstaandart by Dmitry Kovalev

Embed: (wiki syntax)

« Back to documentation index

LPC_MCPWM_TypeDef Struct Reference

LPC_MCPWM_TypeDef Struct Reference
[LPC17xx_System]

Motor Control Pulse-Width Modulation (MCPWM) register structure definition. More...

#include <LPC17xx.h>

Data Fields

__I uint32_t CON
__O uint32_t CON_SET
__O uint32_t CON_CLR
__I uint32_t CAPCON
__O uint32_t CAPCON_SET
__O uint32_t CAPCON_CLR
__IO uint32_t TC0
__IO uint32_t TC1
__IO uint32_t TC2
__IO uint32_t LIM0
__IO uint32_t LIM1
__IO uint32_t LIM2
__IO uint32_t MAT0
__IO uint32_t MAT1
__IO uint32_t MAT2
__IO uint32_t DT
__IO uint32_t CP
__IO uint32_t CAP0
__IO uint32_t CAP1
__IO uint32_t CAP2
__I uint32_t INTEN
__O uint32_t INTEN_SET
__O uint32_t INTEN_CLR
__I uint32_t CNTCON
__O uint32_t CNTCON_SET
__O uint32_t CNTCON_CLR
__I uint32_t INTF
__O uint32_t INTF_SET
__O uint32_t INTF_CLR
__O uint32_t CAP_CLR

Detailed Description

Motor Control Pulse-Width Modulation (MCPWM) register structure definition.

Definition at line 555 of file LPC17xx.h.


Field Documentation

__IO uint32_t CAP0

Offset: 0x044 (R/W) Capture Register, channel 0

Definition at line 574 of file LPC17xx.h.

__IO uint32_t CAP1

Offset: 0x048 (R/W) Capture Register, channel 1

Definition at line 575 of file LPC17xx.h.

__IO uint32_t CAP2

Offset: 0x04C (R/W) Capture Register, channel 2

Definition at line 576 of file LPC17xx.h.

__O uint32_t CAP_CLR

Offset: 0x074 ( /W) Capture clear address Register

Definition at line 586 of file LPC17xx.h.

__I uint32_t CAPCON

Offset: 0x00C (R/ ) Capture Control read address Register

Definition at line 560 of file LPC17xx.h.

__O uint32_t CAPCON_CLR

Offset: 0x014 ( /W) Event Control clear address Register

Definition at line 562 of file LPC17xx.h.

__O uint32_t CAPCON_SET

Offset: 0x010 ( /W) Capture Control set address Register

Definition at line 561 of file LPC17xx.h.

__I uint32_t CNTCON

Offset: 0x05C (R/ ) Count Control read address Register

Definition at line 580 of file LPC17xx.h.

__O uint32_t CNTCON_CLR

Offset: 0x064 ( /W) Count Control clear address Register

Definition at line 582 of file LPC17xx.h.

__O uint32_t CNTCON_SET

Offset: 0x060 ( /W) Count Control set address Register

Definition at line 581 of file LPC17xx.h.

__I uint32_t CON

Offset: 0x000 (R/ ) PWM Control read address Register

Definition at line 557 of file LPC17xx.h.

__O uint32_t CON_CLR

Offset: 0x008 ( /W) PWM Control clear address Register

Definition at line 559 of file LPC17xx.h.

__O uint32_t CON_SET

Offset: 0x004 ( /W) PWM Control set address Register

Definition at line 558 of file LPC17xx.h.

__IO uint32_t CP

Offset: 0x040 (R/W) Commutation Pattern Register

Definition at line 573 of file LPC17xx.h.

__IO uint32_t DT

Offset: 0x03C (R/W) Dead time Register

Definition at line 572 of file LPC17xx.h.

__I uint32_t INTEN

Offset: 0x050 (R/ ) Interrupt Enable read Register

Definition at line 577 of file LPC17xx.h.

__O uint32_t INTEN_CLR

Offset: 0x058 ( /W) Interrupt Enable clear address Register

Definition at line 579 of file LPC17xx.h.

__O uint32_t INTEN_SET

Offset: 0x054 ( /W) Interrupt Enable set address Register

Definition at line 578 of file LPC17xx.h.

__I uint32_t INTF

Offset: 0x068 (R/ ) Interrupt flags read address Register

Definition at line 583 of file LPC17xx.h.

__O uint32_t INTF_CLR

Offset: 0x070 ( /W) Interrupt flags clear address Register

Definition at line 585 of file LPC17xx.h.

__O uint32_t INTF_SET

Offset: 0x06C ( /W) Interrupt flags set address Register

Definition at line 584 of file LPC17xx.h.

__IO uint32_t LIM0

Offset: 0x024 (R/W) Limit Register, channel 0

Definition at line 566 of file LPC17xx.h.

__IO uint32_t LIM1

Offset: 0x028 (R/W) Limit Register, channel 1

Definition at line 567 of file LPC17xx.h.

__IO uint32_t LIM2

Offset: 0x02C (R/W) Limit Register, channel 2

Definition at line 568 of file LPC17xx.h.

__IO uint32_t MAT0

Offset: 0x030 (R/W) Match Register, channel 0

Definition at line 569 of file LPC17xx.h.

__IO uint32_t MAT1

Offset: 0x034 (R/W) Match Register, channel 1

Definition at line 570 of file LPC17xx.h.

__IO uint32_t MAT2

Offset: 0x038 (R/W) Match Register, channel 2

Definition at line 571 of file LPC17xx.h.

__IO uint32_t TC0

Offset: 0x018 (R/W) Timer Counter Register, channel 0

Definition at line 563 of file LPC17xx.h.

__IO uint32_t TC1

Offset: 0x01C (R/W) Timer Counter Register, channel 1

Definition at line 564 of file LPC17xx.h.

__IO uint32_t TC2

Offset: 0x020 (R/W) Timer Counter Register, channel 2

Definition at line 565 of file LPC17xx.h.