\n

MFTX

Peripheral Memory Blocks

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

Registers

TNCNT1

TNPRSC

TNCKC

TNMCTRL

TNICTRL

TNICLR

TNCRA

TNCRB

TNCNT2


TNCNT1

Timer / Counter1 register
address_offset : 0x0 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

TNCNT1 TNCNT1 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

TNPRSC

Clock prescaler register
address_offset : 0x10 Bytes (0x0)
size : 8 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

TNPRSC TNPRSC read-write 0 1 2 3 4 5 6 7 Resets to 0 0 0 0 0 0 0 0

TNCKC

Clock unit control register
address_offset : 0x14 Bytes (0x0)
size : 8 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

TNCKC TNCKC read-write 0 1 2 3 4 5 6 7 Resets to 0 0 0 0 0 0 0 0 TNC1CSEL TNC2CSEL

TNC1CSEL : Define the clock mode for timer/counter 1:


bits : 0 - 2 (3 bit)

Enumeration:

0 : NO_CLOCK

No clock (Timer/Counter 1 stopped)

1 : PRESCALED

Prescaled system clock pclk

2 : EXTERNAL_EVENT

External event on TnB

3 : PULSE_ACCUMULATE

Pulse accumulate

4 : LOW_SPEED_CLOCK

Low-speed clock slow_clk_c

End of enumeration elements list.

TNC2CSEL : Define the clock mode for timer/counter 2:


bits : 3 - 5 (3 bit)


TNMCTRL

Timer mode control register
address_offset : 0x18 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

TNMCTRL TNMCTRL read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 TNMDSEL TNAEDG TNBEDG TNAEN TNBEN TNAOUT TNEN TNPTEN TNPTSE TNPTET

TNMDSEL : MFTX mode select:


bits : 0 - 1 (2 bit)

Enumeration:

0 : PWM

PWM mode and system timer or pulse train

1 : DUAL_INPUT_CAPTURE

Dual-input capture and system timer

2 : DUAL_INDEPENDENT

Dual independent timer/counter

3 : SINGLE

Single timer and single input capture

End of enumeration elements list.

TNAEDG : TnA edge polarity:


bits : 2 - 2 (1 bit)

Enumeration:

0 : FALLING_EDGE

Input is sensitive to falling edges

1 : RISING_EDGE

Input is sensitive to rising edges

End of enumeration elements list.

TNBEDG : TnB edge polarity:


bits : 3 - 3 (1 bit)

TNAEN : TnA enable:


bits : 4 - 4 (1 bit)

Enumeration:

0 : TNA_IN_DISABLE

TnA in disable

1 : TNA_IN_ENABLE

TnA in enable

End of enumeration elements list.

TNBEN : TnB enable:


bits : 5 - 5 (1 bit)

Enumeration:

0 : TNB_IN_DISABLE

TNB in disable

1 : TNB_IN_ENABLE

TNB in enable

End of enumeration elements list.

TNAOUT : TnA output data:


bits : 6 - 6 (1 bit)

Enumeration:

0 : LOW

Pin is low

1 : HIGH

Pin is high

End of enumeration elements list.

TNEN : MFTX enable:


bits : 7 - 7 (1 bit)

Enumeration:

0 : MFTX_DISABLE

MFTX disable

1 : MFTX_ENABLE

MFTX enable

End of enumeration elements list.

TNPTEN : Tn pulse-train mode enable:


bits : 8 - 8 (1 bit)

TNPTSE : Tn pulse-train sofware trigger enable:


bits : 9 - 9 (1 bit)

TNPTET : Tn pulse-train event trigger:


bits : 10 - 10 (1 bit)


TNICTRL

Timer interrupt control register
address_offset : 0x1C Bytes (0x0)
size : 8 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

TNICTRL TNICTRL read-write 0 1 2 3 4 5 6 7 Resets to 0 0 0 0 0 0 0 0 TNAPND TNBPND TNCPND TNDPND TNAIEN TNBIEN TNCIEN TNDIEN

TNAPND : Timer interrupt A pending:


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

TNBPND : Timer interrupt B pending:


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

TNCPND : Timer interrupt C pending:


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

TNDPND : Timer interrupt D pending:


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

TNAIEN : Timer interrupt A enable:


bits : 4 - 4 (1 bit)

TNBIEN : Timer interrupt B enable:


bits : 5 - 5 (1 bit)

TNCIEN : Timer interrupt C enable:


bits : 6 - 6 (1 bit)

TNDIEN : Timer interrupt D enable:


bits : 7 - 7 (1 bit)


TNICLR

Timer interrupt clear register
address_offset : 0x20 Bytes (0x0)
size : 8 bit
access : write-only
reset_value : 0x0
reset_Mask : 0x0

TNICLR TNICLR write-only 0 1 2 3 4 5 6 7 Resets to 0 0 0 0 0 0 0 0 TNACLR TNBCLR TNCCLR TNDCLR

TNACLR : Clear timer interrupt source A.
bits : 0 - 0 (1 bit)

TNBCLR : Clear timer interrupt source B.
bits : 1 - 1 (1 bit)

TNCCLR : Clear timer interrupt source C.
bits : 2 - 2 (1 bit)

TNDCLR : Clear timer interrupt source D.
bits : 3 - 3 (1 bit)


TNCRA

Capture / Reload A register
address_offset : 0x4 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

TNCRA TNCRA read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

TNCRB

Capture / Reload B register
address_offset : 0x8 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

TNCRB TNCRB read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

TNCNT2

Timer / Counter2 register
address_offset : 0xC Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

TNCNT2 TNCNT2 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0


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.