\n

LPTPM

Peripheral Memory Blocks

address_offset : 0x0 Bytes (0x0)
size : 0x88 byte (0x0)
mem_usage : registers
protection : not protected

Registers

VERID

SC

CHANNEL[5]-CHANNEL[4]-CHANNEL[3]-CHANNEL[2]-CHANNEL[1]-CHANNEL[0]-CSC

CHANNEL[5]-CHANNEL[4]-CHANNEL[3]-CHANNEL[2]-CHANNEL[1]-CHANNEL[0]-CV

CNT

MOD

STATUS

CHANNEL[0]-CSC

CHANNEL[0]-CV

PARAM

CHANNEL[1]-CHANNEL[0]-CSC

CHANNEL[1]-CHANNEL[0]-CV

COMBINE

TRIG

POL

CHANNEL[2]-CHANNEL[1]-CHANNEL[0]-CSC

FILTER

CHANNEL[2]-CHANNEL[1]-CHANNEL[0]-CV

GLOBAL

QDCTRL

CONF

CHANNEL[3]-CHANNEL[2]-CHANNEL[1]-CHANNEL[0]-CSC

CHANNEL[3]-CHANNEL[2]-CHANNEL[1]-CHANNEL[0]-CV

CHANNEL[4]-CHANNEL[3]-CHANNEL[2]-CHANNEL[1]-CHANNEL[0]-CSC

CHANNEL[4]-CHANNEL[3]-CHANNEL[2]-CHANNEL[1]-CHANNEL[0]-CV


VERID

Version ID Register
address_offset : 0x0 Bytes (0x0)
size : 32 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0

VERID VERID read-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 FEATURE MINOR MAJOR

FEATURE : Feature Identification Number
bits : 0 - 15 (16 bit)
access : read-only

Enumeration:

0x1 : FEATURE_1

Standard feature set.

0x3 : FEATURE_3

Standard feature set with Filter and Combine registers implemented.

0x7 : FEATURE_7

Standard feature set with Filter, Combine and Quadrature registers implemented.

End of enumeration elements list.

MINOR : Minor Version Number
bits : 16 - 23 (8 bit)
access : read-only

MAJOR : Major Version Number
bits : 24 - 31 (8 bit)
access : read-only


SC

Status and Control
address_offset : 0x10 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

SC SC read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PS CMOD CPWMS TOIE TOF DMA

PS : Prescale Factor Selection
bits : 0 - 2 (3 bit)
access : read-write

Enumeration:

0 : PS_0

Divide by 1

0x1 : PS_1

Divide by 2

0x2 : PS_2

Divide by 4

0x3 : PS_3

Divide by 8

0x4 : PS_4

Divide by 16

0x5 : PS_5

Divide by 32

0x6 : PS_6

Divide by 64

0x7 : PS_7

Divide by 128

End of enumeration elements list.

CMOD : Clock Mode Selection
bits : 3 - 4 (2 bit)
access : read-write

Enumeration:

0 : CMOD_0

TPM counter is disabled

0x1 : CMOD_1

TPM counter increments on every TPM counter clock

0x2 : CMOD_2

TPM counter increments on rising edge of TPM_EXTCLK synchronized to the TPM counter clock

0x3 : CMOD_3

TPM counter increments on rising edge of the selected external input trigger.

End of enumeration elements list.

CPWMS : Center-Aligned PWM Select
bits : 5 - 5 (1 bit)
access : read-write

Enumeration:

0 : CPWMS_0

TPM counter operates in up counting mode.

0x1 : CPWMS_1

TPM counter operates in up-down counting mode.

End of enumeration elements list.

TOIE : Timer Overflow Interrupt Enable
bits : 6 - 6 (1 bit)
access : read-write

Enumeration:

0 : TOIE_0

Disable TOF interrupts. Use software polling or DMA request.

0x1 : TOIE_1

Enable TOF interrupts. An interrupt is generated when TOF equals one.

End of enumeration elements list.

TOF : Timer Overflow Flag
bits : 7 - 7 (1 bit)
access : read-write

Enumeration:

0 : TOF_0

TPM counter has not overflowed.

0x1 : TOF_1

TPM counter has overflowed.

End of enumeration elements list.

DMA : DMA Enable
bits : 8 - 8 (1 bit)
access : read-write

Enumeration:

0 : DMA_0

Disables DMA transfers.

0x1 : DMA_1

Enables DMA transfers.

End of enumeration elements list.


CHANNEL[5]-CHANNEL[4]-CHANNEL[3]-CHANNEL[2]-CHANNEL[1]-CHANNEL[0]-CSC

Channel (n) Status and Control
address_offset : 0x138 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CHANNEL[5]-CHANNEL[4]-CHANNEL[3]-CHANNEL[2]-CHANNEL[1]-CHANNEL[0]-CSC CHANNEL[5]-CHANNEL[4]-CHANNEL[3]-CHANNEL[2]-CHANNEL[1]-CHANNEL[0]-CSC read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DMA ELSA ELSB MSA MSB CHIE CHF

DMA : DMA Enable
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

0 : DMA_0

Disable DMA transfers.

0x1 : DMA_1

Enable DMA transfers.

End of enumeration elements list.

ELSA : Edge or Level Select
bits : 2 - 2 (1 bit)
access : read-write

ELSB : Edge or Level Select
bits : 3 - 3 (1 bit)
access : read-write

MSA : Channel Mode Select
bits : 4 - 4 (1 bit)
access : read-write

MSB : Channel Mode Select
bits : 5 - 5 (1 bit)
access : read-write

CHIE : Channel Interrupt Enable
bits : 6 - 6 (1 bit)
access : read-write

Enumeration:

0 : CHIE_0

Disable channel interrupts.

0x1 : CHIE_1

Enable channel interrupts.

End of enumeration elements list.

CHF : Channel Flag
bits : 7 - 7 (1 bit)
access : read-write

Enumeration:

0 : CHF_0

No channel event has occurred.

0x1 : CHF_1

A channel event has occurred.

End of enumeration elements list.


CHANNEL[5]-CHANNEL[4]-CHANNEL[3]-CHANNEL[2]-CHANNEL[1]-CHANNEL[0]-CV

Channel (n) Value
address_offset : 0x13C Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CHANNEL[5]-CHANNEL[4]-CHANNEL[3]-CHANNEL[2]-CHANNEL[1]-CHANNEL[0]-CV CHANNEL[5]-CHANNEL[4]-CHANNEL[3]-CHANNEL[2]-CHANNEL[1]-CHANNEL[0]-CV read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 VAL

VAL : Channel Value
bits : 0 - 15 (16 bit)
access : read-write


CNT

Counter
address_offset : 0x14 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CNT CNT read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 COUNT

COUNT : Counter value
bits : 0 - 15 (16 bit)
access : read-write


MOD

Modulo
address_offset : 0x18 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

MOD MOD read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 MOD

MOD : Modulo value
bits : 0 - 15 (16 bit)
access : read-write


STATUS

Capture and Compare Status
address_offset : 0x1C Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

STATUS STATUS read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CH0F CH1F CH2F CH3F CH4F CH5F TOF

CH0F : Channel 0 Flag
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

0 : CH0F_0

No channel event has occurred.

0x1 : CH0F_1

A channel event has occurred.

End of enumeration elements list.

CH1F : Channel 1 Flag
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

0 : CH1F_0

No channel event has occurred.

0x1 : CH1F_1

A channel event has occurred.

End of enumeration elements list.

CH2F : Channel 2 Flag
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

0 : CH2F_0

No channel event has occurred.

0x1 : CH2F_1

A channel event has occurred.

End of enumeration elements list.

CH3F : Channel 3 Flag
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

0 : CH3F_0

No channel event has occurred.

0x1 : CH3F_1

A channel event has occurred.

End of enumeration elements list.

CH4F : Channel 4 Flag
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

0 : CH4F_0

No channel event has occurred.

0x1 : CH4F_1

A channel event has occurred.

End of enumeration elements list.

CH5F : Channel 5 Flag
bits : 5 - 5 (1 bit)
access : read-write

Enumeration:

0 : CH5F_0

No channel event has occurred.

0x1 : CH5F_1

A channel event has occurred.

End of enumeration elements list.

TOF : Timer Overflow Flag
bits : 8 - 8 (1 bit)
access : read-write

Enumeration:

0 : TOF_0

TPM counter has not overflowed.

0x1 : TOF_1

TPM counter has overflowed.

End of enumeration elements list.


CHANNEL[0]-CSC

Channel (n) Status and Control
address_offset : 0x20 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CHANNEL[0]-CSC CHANNEL[0]-CSC read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DMA ELSA ELSB MSA MSB CHIE CHF

DMA : DMA Enable
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

0 : DMA_0

Disable DMA transfers.

0x1 : DMA_1

Enable DMA transfers.

End of enumeration elements list.

ELSA : Edge or Level Select
bits : 2 - 2 (1 bit)
access : read-write

ELSB : Edge or Level Select
bits : 3 - 3 (1 bit)
access : read-write

MSA : Channel Mode Select
bits : 4 - 4 (1 bit)
access : read-write

MSB : Channel Mode Select
bits : 5 - 5 (1 bit)
access : read-write

CHIE : Channel Interrupt Enable
bits : 6 - 6 (1 bit)
access : read-write

Enumeration:

0 : CHIE_0

Disable channel interrupts.

0x1 : CHIE_1

Enable channel interrupts.

End of enumeration elements list.

CHF : Channel Flag
bits : 7 - 7 (1 bit)
access : read-write

Enumeration:

0 : CHF_0

No channel event has occurred.

0x1 : CHF_1

A channel event has occurred.

End of enumeration elements list.


CHANNEL[0]-CV

Channel (n) Value
address_offset : 0x24 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CHANNEL[0]-CV CHANNEL[0]-CV read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 VAL

VAL : Channel Value
bits : 0 - 15 (16 bit)
access : read-write


PARAM

Parameter Register
address_offset : 0x4 Bytes (0x0)
size : 32 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0

PARAM PARAM read-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CHAN TRIG WIDTH

CHAN : Channel Count
bits : 0 - 7 (8 bit)
access : read-only

TRIG : Trigger Count
bits : 8 - 15 (8 bit)
access : read-only

WIDTH : Counter Width
bits : 16 - 23 (8 bit)
access : read-only


CHANNEL[1]-CHANNEL[0]-CSC

Channel (n) Status and Control
address_offset : 0x48 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CHANNEL[1]-CHANNEL[0]-CSC CHANNEL[1]-CHANNEL[0]-CSC read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DMA ELSA ELSB MSA MSB CHIE CHF

DMA : DMA Enable
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

0 : DMA_0

Disable DMA transfers.

0x1 : DMA_1

Enable DMA transfers.

End of enumeration elements list.

ELSA : Edge or Level Select
bits : 2 - 2 (1 bit)
access : read-write

ELSB : Edge or Level Select
bits : 3 - 3 (1 bit)
access : read-write

MSA : Channel Mode Select
bits : 4 - 4 (1 bit)
access : read-write

MSB : Channel Mode Select
bits : 5 - 5 (1 bit)
access : read-write

CHIE : Channel Interrupt Enable
bits : 6 - 6 (1 bit)
access : read-write

Enumeration:

0 : CHIE_0

Disable channel interrupts.

0x1 : CHIE_1

Enable channel interrupts.

End of enumeration elements list.

CHF : Channel Flag
bits : 7 - 7 (1 bit)
access : read-write

Enumeration:

0 : CHF_0

No channel event has occurred.

0x1 : CHF_1

A channel event has occurred.

End of enumeration elements list.


CHANNEL[1]-CHANNEL[0]-CV

Channel (n) Value
address_offset : 0x4C Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CHANNEL[1]-CHANNEL[0]-CV CHANNEL[1]-CHANNEL[0]-CV read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 VAL

VAL : Channel Value
bits : 0 - 15 (16 bit)
access : read-write


COMBINE

Combine Channel Register
address_offset : 0x64 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

COMBINE COMBINE read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 COMBINE0 COMSWAP0 COMBINE1 COMSWAP1 COMBINE2 COMSWAP2

COMBINE0 : Combine Channels 0 and 1
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

0 : COMBINE0_0

Channels 0 and 1 are independent.

0x1 : COMBINE0_1

Channels 0 and 1 are combined.

End of enumeration elements list.

COMSWAP0 : Combine Channel 0 and 1 Swap
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

0 : COMSWAP0_0

Even channel is used for input capture and 1st compare.

0x1 : COMSWAP0_1

Odd channel is used for input capture and 1st compare.

End of enumeration elements list.

COMBINE1 : Combine Channels 2 and 3
bits : 8 - 8 (1 bit)
access : read-write

Enumeration:

0 : COMBINE1_0

Channels 2 and 3 are independent.

0x1 : COMBINE1_1

Channels 2 and 3 are combined.

End of enumeration elements list.

COMSWAP1 : Combine Channels 2 and 3 Swap
bits : 9 - 9 (1 bit)
access : read-write

Enumeration:

0 : COMSWAP1_0

Even channel is used for input capture and 1st compare.

0x1 : COMSWAP1_1

Odd channel is used for input capture and 1st compare.

End of enumeration elements list.

COMBINE2 : Combine Channels 4 and 5
bits : 16 - 16 (1 bit)
access : read-write

Enumeration:

0 : COMBINE2_0

Channels 4 and 5 are independent.

0x1 : COMBINE2_1

Channels 4 and 5 are combined.

End of enumeration elements list.

COMSWAP2 : Combine Channels 4 and 5 Swap
bits : 17 - 17 (1 bit)
access : read-write

Enumeration:

0 : COMSWAP2_0

Even channel is used for input capture and 1st compare.

0x1 : COMSWAP2_1

Odd channel is used for input capture and 1st compare.

End of enumeration elements list.


TRIG

Channel Trigger
address_offset : 0x6C Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

TRIG TRIG read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 TRIG0 TRIG1 TRIG2 TRIG3 TRIG4 TRIG5

TRIG0 : Channel 0 Trigger
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

0 : TRIG0_0

No effect.

0x1 : TRIG0_1

Configures trigger input 0 to be used by channel 0.

End of enumeration elements list.

TRIG1 : Channel 1 Trigger
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

0 : TRIG1_0

No effect.

0x1 : TRIG1_1

Configures trigger input 1 to be used by channel 1.

End of enumeration elements list.

TRIG2 : Channel 2 Trigger
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

0 : TRIG2_0

No effect.

0x1 : TRIG2_1

Configures trigger input 0 to be used by channel 2.

End of enumeration elements list.

TRIG3 : Channel 3 Trigger
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

0 : TRIG3_0

No effect.

0x1 : TRIG3_1

Configures trigger input 1 to be used by channel 3.

End of enumeration elements list.

TRIG4 : Channel 4 Trigger
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

0 : TRIG4_0

No effect.

0x1 : TRIG4_1

Configures trigger input 0 to be used by channel 4.

End of enumeration elements list.

TRIG5 : Channel 5 Trigger
bits : 5 - 5 (1 bit)
access : read-write

Enumeration:

0 : TRIG5_0

No effect.

0x1 : TRIG5_1

Configures trigger input 1 to be used by channel 5.

End of enumeration elements list.


POL

Channel Polarity
address_offset : 0x70 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

POL POL read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 POL0 POL1 POL2 POL3 POL4 POL5

POL0 : Channel 0 Polarity
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

0 : POL0_0

The channel polarity is active high.

0x1 : POL0_1

The channel polarity is active low.

End of enumeration elements list.

POL1 : Channel 1 Polarity
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

0 : POL1_0

The channel polarity is active high.

0x1 : POL1_1

The channel polarity is active low.

End of enumeration elements list.

POL2 : Channel 2 Polarity
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

0 : POL2_0

The channel polarity is active high.

0x1 : POL2_1

The channel polarity is active low.

End of enumeration elements list.

POL3 : Channel 3 Polarity
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

0 : POL3_0

The channel polarity is active high.

0x1 : POL3_1

The channel polarity is active low.

End of enumeration elements list.

POL4 : Channel 4 Polarity
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

0 : POL4_0

The channel polarity is active high

0x1 : POL4_1

The channel polarity is active low.

End of enumeration elements list.

POL5 : Channel 5 Polarity
bits : 5 - 5 (1 bit)
access : read-write

Enumeration:

0 : POL5_0

The channel polarity is active high.

0x1 : POL5_1

The channel polarity is active low.

End of enumeration elements list.


CHANNEL[2]-CHANNEL[1]-CHANNEL[0]-CSC

Channel (n) Status and Control
address_offset : 0x78 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CHANNEL[2]-CHANNEL[1]-CHANNEL[0]-CSC CHANNEL[2]-CHANNEL[1]-CHANNEL[0]-CSC read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DMA ELSA ELSB MSA MSB CHIE CHF

DMA : DMA Enable
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

0 : DMA_0

Disable DMA transfers.

0x1 : DMA_1

Enable DMA transfers.

End of enumeration elements list.

ELSA : Edge or Level Select
bits : 2 - 2 (1 bit)
access : read-write

ELSB : Edge or Level Select
bits : 3 - 3 (1 bit)
access : read-write

MSA : Channel Mode Select
bits : 4 - 4 (1 bit)
access : read-write

MSB : Channel Mode Select
bits : 5 - 5 (1 bit)
access : read-write

CHIE : Channel Interrupt Enable
bits : 6 - 6 (1 bit)
access : read-write

Enumeration:

0 : CHIE_0

Disable channel interrupts.

0x1 : CHIE_1

Enable channel interrupts.

End of enumeration elements list.

CHF : Channel Flag
bits : 7 - 7 (1 bit)
access : read-write

Enumeration:

0 : CHF_0

No channel event has occurred.

0x1 : CHF_1

A channel event has occurred.

End of enumeration elements list.


FILTER

Filter Control
address_offset : 0x78 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

FILTER FILTER read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CH0FVAL CH1FVAL CH2FVAL CH3FVAL CH4FVAL CH5FVAL

CH0FVAL : Channel 0 Filter Value
bits : 0 - 3 (4 bit)
access : read-write

CH1FVAL : Channel 1 Filter Value
bits : 4 - 7 (4 bit)
access : read-write

CH2FVAL : Channel 2 Filter Value
bits : 8 - 11 (4 bit)
access : read-write

CH3FVAL : Channel 3 Filter Value
bits : 12 - 15 (4 bit)
access : read-write

CH4FVAL : Channel 4 Filter Value
bits : 16 - 19 (4 bit)
access : read-write

CH5FVAL : Channel 5 Filter Value
bits : 20 - 23 (4 bit)
access : read-write


CHANNEL[2]-CHANNEL[1]-CHANNEL[0]-CV

Channel (n) Value
address_offset : 0x7C Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CHANNEL[2]-CHANNEL[1]-CHANNEL[0]-CV CHANNEL[2]-CHANNEL[1]-CHANNEL[0]-CV read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 VAL

VAL : Channel Value
bits : 0 - 15 (16 bit)
access : read-write


GLOBAL

TPM Global Register
address_offset : 0x8 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

GLOBAL GLOBAL read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NOUPDATE RST

NOUPDATE : No Update
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

0 : NOUPDATE_0

Internal double buffered registers update as normal.

0x1 : NOUPDATE_1

Internal double buffered registers do not update.

End of enumeration elements list.

RST : Software Reset
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

0 : RST_0

Module is not reset.

0x1 : RST_1

Module is reset.

End of enumeration elements list.


QDCTRL

Quadrature Decoder Control and Status
address_offset : 0x80 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

QDCTRL QDCTRL read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 QUADEN TOFDIR QUADIR QUADMODE

QUADEN : QUADEN
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

0 : QUADEN_0

Quadrature decoder mode is disabled.

0x1 : QUADEN_1

Quadrature decoder mode is enabled.

End of enumeration elements list.

TOFDIR : TOFDIR
bits : 1 - 1 (1 bit)
access : read-only

Enumeration:

0 : TOFDIR_0

TOF bit was set on the bottom of counting. There was an FTM counter decrement and FTM counter changes from its minimum value (zero) to its maximum value (MOD register).

0x1 : TOFDIR_1

TOF bit was set on the top of counting. There was an FTM counter increment and FTM counter changes from its maximum value (MOD register) to its minimum value (zero).

End of enumeration elements list.

QUADIR : Counter Direction in Quadrature Decode Mode
bits : 2 - 2 (1 bit)
access : read-only

Enumeration:

0 : QUADIR_0

Counter direction is decreasing (counter decrement).

0x1 : QUADIR_1

Counter direction is increasing (counter increment).

End of enumeration elements list.

QUADMODE : Quadrature Decoder Mode
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

0 : QUADMODE_0

Phase encoding mode.

0x1 : QUADMODE_1

Count and direction encoding mode.

End of enumeration elements list.


CONF

Configuration
address_offset : 0x84 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CONF CONF read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DOZEEN DBGMODE GTBSYNC GTBEEN CSOT CSOO CROT CPOT TRGPOL TRGSRC TRGSEL

DOZEEN : Doze Enable
bits : 5 - 5 (1 bit)
access : read-write

Enumeration:

0 : DOZEEN_0

Internal TPM counter continues in Doze mode.

0x1 : DOZEEN_1

Internal TPM counter is paused and does not increment during Doze mode. Trigger inputs and input capture events are ignored, and PWM outputs are forced to their default state.

End of enumeration elements list.

DBGMODE : Debug Mode
bits : 6 - 7 (2 bit)
access : read-write

Enumeration:

0 : DBGMODE_0

TPM counter is paused and does not increment during debug mode. Trigger inputs and input capture events are ignored, and PWM outputs are forced to their default state.

0x3 : DBGMODE_3

TPM counter continues in debug mode.

End of enumeration elements list.

GTBSYNC : Global Time Base Synchronization
bits : 8 - 8 (1 bit)
access : read-write

Enumeration:

0 : GTBSYNC_0

Global timebase synchronization disabled.

0x1 : GTBSYNC_1

Global timebase synchronization enabled.

End of enumeration elements list.

GTBEEN : Global time base enable
bits : 9 - 9 (1 bit)
access : read-write

Enumeration:

0 : GTBEEN_0

All channels use the internally generated TPM counter as their timebase

0x1 : GTBEEN_1

All channels use an externally generated global timebase as their timebase

End of enumeration elements list.

CSOT : Counter Start on Trigger
bits : 16 - 16 (1 bit)
access : read-write

Enumeration:

0 : CSOT_0

TPM counter starts to increment immediately, once it is enabled.

0x1 : CSOT_1

TPM counter only starts to increment when it a rising edge on the selected input trigger is detected, after it has been enabled or after it has stopped due to overflow.

End of enumeration elements list.

CSOO : Counter Stop On Overflow
bits : 17 - 17 (1 bit)
access : read-write

Enumeration:

0 : CSOO_0

TPM counter continues incrementing or decrementing after overflow

0x1 : CSOO_1

TPM counter stops incrementing or decrementing after overflow.

End of enumeration elements list.

CROT : Counter Reload On Trigger
bits : 18 - 18 (1 bit)
access : read-write

Enumeration:

0 : CROT_0

Counter is not reloaded due to a rising edge on the selected input trigger

0x1 : CROT_1

Counter is reloaded when a rising edge is detected on the selected input trigger

End of enumeration elements list.

CPOT : Counter Pause On Trigger
bits : 19 - 19 (1 bit)
access : read-write

TRGPOL : Trigger Polarity
bits : 22 - 22 (1 bit)
access : read-write

Enumeration:

0 : TRGPOL_0

Trigger is active high.

0x1 : TRGPOL_1

Trigger is active low.

End of enumeration elements list.

TRGSRC : Trigger Source
bits : 23 - 23 (1 bit)
access : read-write

Enumeration:

0 : TRGSRC_0

Trigger source selected by TRGSEL is external.

0x1 : TRGSRC_1

Trigger source selected by TRGSEL is internal (channel pin input capture).

End of enumeration elements list.

TRGSEL : Trigger Select
bits : 24 - 25 (2 bit)
access : read-write

Enumeration:

0x1 : TRGSEL_1

Channel 0 pin input capture

0x2 : TRGSEL_2

Channel 1 pin input capture

0x3 : TRGSEL_3

Channel 0 or Channel 1 pin input capture

End of enumeration elements list.


CHANNEL[3]-CHANNEL[2]-CHANNEL[1]-CHANNEL[0]-CSC

Channel (n) Status and Control
address_offset : 0xB0 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CHANNEL[3]-CHANNEL[2]-CHANNEL[1]-CHANNEL[0]-CSC CHANNEL[3]-CHANNEL[2]-CHANNEL[1]-CHANNEL[0]-CSC read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DMA ELSA ELSB MSA MSB CHIE CHF

DMA : DMA Enable
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

0 : DMA_0

Disable DMA transfers.

0x1 : DMA_1

Enable DMA transfers.

End of enumeration elements list.

ELSA : Edge or Level Select
bits : 2 - 2 (1 bit)
access : read-write

ELSB : Edge or Level Select
bits : 3 - 3 (1 bit)
access : read-write

MSA : Channel Mode Select
bits : 4 - 4 (1 bit)
access : read-write

MSB : Channel Mode Select
bits : 5 - 5 (1 bit)
access : read-write

CHIE : Channel Interrupt Enable
bits : 6 - 6 (1 bit)
access : read-write

Enumeration:

0 : CHIE_0

Disable channel interrupts.

0x1 : CHIE_1

Enable channel interrupts.

End of enumeration elements list.

CHF : Channel Flag
bits : 7 - 7 (1 bit)
access : read-write

Enumeration:

0 : CHF_0

No channel event has occurred.

0x1 : CHF_1

A channel event has occurred.

End of enumeration elements list.


CHANNEL[3]-CHANNEL[2]-CHANNEL[1]-CHANNEL[0]-CV

Channel (n) Value
address_offset : 0xB4 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CHANNEL[3]-CHANNEL[2]-CHANNEL[1]-CHANNEL[0]-CV CHANNEL[3]-CHANNEL[2]-CHANNEL[1]-CHANNEL[0]-CV read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 VAL

VAL : Channel Value
bits : 0 - 15 (16 bit)
access : read-write


CHANNEL[4]-CHANNEL[3]-CHANNEL[2]-CHANNEL[1]-CHANNEL[0]-CSC

Channel (n) Status and Control
address_offset : 0xF0 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CHANNEL[4]-CHANNEL[3]-CHANNEL[2]-CHANNEL[1]-CHANNEL[0]-CSC CHANNEL[4]-CHANNEL[3]-CHANNEL[2]-CHANNEL[1]-CHANNEL[0]-CSC read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DMA ELSA ELSB MSA MSB CHIE CHF

DMA : DMA Enable
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

0 : DMA_0

Disable DMA transfers.

0x1 : DMA_1

Enable DMA transfers.

End of enumeration elements list.

ELSA : Edge or Level Select
bits : 2 - 2 (1 bit)
access : read-write

ELSB : Edge or Level Select
bits : 3 - 3 (1 bit)
access : read-write

MSA : Channel Mode Select
bits : 4 - 4 (1 bit)
access : read-write

MSB : Channel Mode Select
bits : 5 - 5 (1 bit)
access : read-write

CHIE : Channel Interrupt Enable
bits : 6 - 6 (1 bit)
access : read-write

Enumeration:

0 : CHIE_0

Disable channel interrupts.

0x1 : CHIE_1

Enable channel interrupts.

End of enumeration elements list.

CHF : Channel Flag
bits : 7 - 7 (1 bit)
access : read-write

Enumeration:

0 : CHF_0

No channel event has occurred.

0x1 : CHF_1

A channel event has occurred.

End of enumeration elements list.


CHANNEL[4]-CHANNEL[3]-CHANNEL[2]-CHANNEL[1]-CHANNEL[0]-CV

Channel (n) Value
address_offset : 0xF4 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CHANNEL[4]-CHANNEL[3]-CHANNEL[2]-CHANNEL[1]-CHANNEL[0]-CV CHANNEL[4]-CHANNEL[3]-CHANNEL[2]-CHANNEL[1]-CHANNEL[0]-CV read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 VAL

VAL : Channel Value
bits : 0 - 15 (16 bit)
access : read-write



Is something missing? Is something wrong? can you help correct it ? Please contact us at info@chipselect.org !

This website is sponsored by EmbeetleEmbeetle, an IDE designed from scratch for embedded software developers.