\n

LETIMER0

Peripheral Memory Blocks

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

Registers

CTRL

COMP0

COMP1

REP0

REP1

IF

IFS

IFC

IEN

SYNCBUSY

CMD

ROUTEPEN

ROUTELOC0

PRSSEL

STATUS

CNT


CTRL

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

CTRL CTRL 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 REPMODE UFOA0 UFOA1 OPOL0 OPOL1 BUFTOP COMP0TOP DEBUGRUN

REPMODE : Repeat Mode
bits : 0 - 1 (2 bit)
access : read-write

Enumeration:

0x00000000 : FREE

When started, the LETIMER counts down until it is stopped by software

0x00000001 : ONESHOT

The counter counts REP0 times. When REP0 reaches zero, the counter stops

0x00000002 : BUFFERED

The counter counts REP0 times. If REP1 has been written, it is loaded into REP0 when REP0 reaches zero, otherwise the counter stops

0x00000003 : DOUBLE

Both REP0 and REP1 are decremented when the LETIMER wraps around. The LETIMER counts until both REP0 and REP1 are zero

End of enumeration elements list.

UFOA0 : Underflow Output Action 0
bits : 2 - 3 (2 bit)
access : read-write

Enumeration:

0x00000000 : NONE

LETn_O0 is held at its idle value as defined by OPOL0

0x00000001 : TOGGLE

LETn_O0 is toggled on CNT underflow

0x00000002 : PULSE

LETn_O0 is held active for one LFACLKLETIMER0 clock cycle on CNT underflow. The output then returns to its idle value as defined by OPOL0

0x00000003 : PWM

LETn_O0 is set idle on CNT underflow, and active on compare match with COMP1

End of enumeration elements list.

UFOA1 : Underflow Output Action 1
bits : 4 - 5 (2 bit)
access : read-write

Enumeration:

0x00000000 : NONE

LETn_O1 is held at its idle value as defined by OPOL1

0x00000001 : TOGGLE

LETn_O1 is toggled on CNT underflow

0x00000002 : PULSE

LETn_O1 is held active for one LFACLKLETIMER0 clock cycle on CNT underflow. The output then returns to its idle value as defined by OPOL1

0x00000003 : PWM

LETn_O1 is set idle on CNT underflow, and active on compare match with COMP1

End of enumeration elements list.

OPOL0 : Output 0 Polarity
bits : 6 - 6 (1 bit)
access : read-write

OPOL1 : Output 1 Polarity
bits : 7 - 7 (1 bit)
access : read-write

BUFTOP : Buffered Top
bits : 8 - 8 (1 bit)
access : read-write

COMP0TOP : Compare Value 0 is Top Value
bits : 9 - 9 (1 bit)
access : read-write

DEBUGRUN : Debug Mode Run Enable
bits : 12 - 12 (1 bit)
access : read-write


COMP0

Compare Value Register 0
address_offset : 0x10 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

COMP0 COMP0 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 COMP0

COMP0 : Compare Value 0
bits : 0 - 15 (16 bit)
access : read-write


COMP1

Compare Value Register 1
address_offset : 0x14 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

COMP1 COMP1 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 COMP1

COMP1 : Compare Value 1
bits : 0 - 15 (16 bit)
access : read-write


REP0

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

REP0 REP0 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 REP0

REP0 : Repeat Counter 0
bits : 0 - 7 (8 bit)
access : read-write


REP1

Repeat Counter Register 1
address_offset : 0x1C Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

REP1 REP1 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 REP1

REP1 : Repeat Counter 1
bits : 0 - 7 (8 bit)
access : read-write


IF

Interrupt Flag Register
address_offset : 0x20 Bytes (0x0)
size : 32 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0

IF IF 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 COMP0 COMP1 UF REP0 REP1

COMP0 : Compare Match 0 Interrupt Flag
bits : 0 - 0 (1 bit)
access : read-only

COMP1 : Compare Match 1 Interrupt Flag
bits : 1 - 1 (1 bit)
access : read-only

UF : Underflow Interrupt Flag
bits : 2 - 2 (1 bit)
access : read-only

REP0 : Repeat Counter 0 Interrupt Flag
bits : 3 - 3 (1 bit)
access : read-only

REP1 : Repeat Counter 1 Interrupt Flag
bits : 4 - 4 (1 bit)
access : read-only


IFS

Interrupt Flag Set Register
address_offset : 0x24 Bytes (0x0)
size : 32 bit
access : write-only
reset_value : 0x0
reset_Mask : 0x0

IFS IFS write-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 COMP0 COMP1 UF REP0 REP1

COMP0 : Set COMP0 Interrupt Flag
bits : 0 - 0 (1 bit)
access : write-only

COMP1 : Set COMP1 Interrupt Flag
bits : 1 - 1 (1 bit)
access : write-only

UF : Set UF Interrupt Flag
bits : 2 - 2 (1 bit)
access : write-only

REP0 : Set REP0 Interrupt Flag
bits : 3 - 3 (1 bit)
access : write-only

REP1 : Set REP1 Interrupt Flag
bits : 4 - 4 (1 bit)
access : write-only


IFC

Interrupt Flag Clear Register
address_offset : 0x28 Bytes (0x0)
size : 32 bit
access : write-only
reset_value : 0x0
reset_Mask : 0x0

IFC IFC write-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 COMP0 COMP1 UF REP0 REP1

COMP0 : Clear COMP0 Interrupt Flag
bits : 0 - 0 (1 bit)
access : write-only

COMP1 : Clear COMP1 Interrupt Flag
bits : 1 - 1 (1 bit)
access : write-only

UF : Clear UF Interrupt Flag
bits : 2 - 2 (1 bit)
access : write-only

REP0 : Clear REP0 Interrupt Flag
bits : 3 - 3 (1 bit)
access : write-only

REP1 : Clear REP1 Interrupt Flag
bits : 4 - 4 (1 bit)
access : write-only


IEN

Interrupt Enable Register
address_offset : 0x2C Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

IEN IEN 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 COMP0 COMP1 UF REP0 REP1

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

COMP1 : COMP1 Interrupt Enable
bits : 1 - 1 (1 bit)
access : read-write

UF : UF Interrupt Enable
bits : 2 - 2 (1 bit)
access : read-write

REP0 : REP0 Interrupt Enable
bits : 3 - 3 (1 bit)
access : read-write

REP1 : REP1 Interrupt Enable
bits : 4 - 4 (1 bit)
access : read-write


SYNCBUSY

Synchronization Busy Register
address_offset : 0x34 Bytes (0x0)
size : 32 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0

SYNCBUSY SYNCBUSY 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 CMD

CMD : CMD Register Busy
bits : 1 - 1 (1 bit)
access : read-only


CMD

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

CMD CMD write-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 START STOP CLEAR CTO0 CTO1

START : Start LETIMER
bits : 0 - 0 (1 bit)
access : write-only

STOP : Stop LETIMER
bits : 1 - 1 (1 bit)
access : write-only

CLEAR : Clear LETIMER
bits : 2 - 2 (1 bit)
access : write-only

CTO0 : Clear Toggle Output 0
bits : 3 - 3 (1 bit)
access : write-only

CTO1 : Clear Toggle Output 1
bits : 4 - 4 (1 bit)
access : write-only


ROUTEPEN

I/O Routing Pin Enable Register
address_offset : 0x40 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ROUTEPEN ROUTEPEN 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 OUT0PEN OUT1PEN

OUT0PEN : Output 0 Pin Enable
bits : 0 - 0 (1 bit)
access : read-write

OUT1PEN : Output 1 Pin Enable
bits : 1 - 1 (1 bit)
access : read-write


ROUTELOC0

I/O Routing Location Register
address_offset : 0x44 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ROUTELOC0 ROUTELOC0 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 OUT0LOC OUT1LOC

OUT0LOC : I/O Location
bits : 0 - 5 (6 bit)
access : read-write

Enumeration:

0x00000000 : LOC0

Location 0

0x00000001 : LOC1

Location 1

0x00000002 : LOC2

Location 2

0x00000003 : LOC3

Location 3

0x00000004 : LOC4

Location 4

0x00000005 : LOC5

Location 5

0x00000006 : LOC6

Location 6

0x00000007 : LOC7

Location 7

End of enumeration elements list.

OUT1LOC : I/O Location
bits : 8 - 13 (6 bit)
access : read-write

Enumeration:

0x00000000 : LOC0

Location 0

0x00000001 : LOC1

Location 1

0x00000002 : LOC2

Location 2

0x00000003 : LOC3

Location 3

0x00000004 : LOC4

Location 4

0x00000005 : LOC5

Location 5

0x00000006 : LOC6

Location 6

0x00000007 : LOC7

Location 7

End of enumeration elements list.


PRSSEL

PRS Input Select Register
address_offset : 0x50 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

PRSSEL PRSSEL 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 PRSSTARTSEL PRSSTOPSEL PRSCLEARSEL PRSSTARTMODE PRSSTOPMODE PRSCLEARMODE

PRSSTARTSEL : PRS Start Select
bits : 0 - 4 (5 bit)
access : read-write

Enumeration:

0x00000000 : PRSCH0

PRS Channel 0 selected as input

0x00000001 : PRSCH1

PRS Channel 1 selected as input

0x00000002 : PRSCH2

PRS Channel 2 selected as input

0x00000003 : PRSCH3

PRS Channel 3 selected as input

0x00000004 : PRSCH4

PRS Channel 4 selected as input

0x00000005 : PRSCH5

PRS Channel 5 selected as input

0x00000006 : PRSCH6

PRS Channel 6 selected as input

0x00000007 : PRSCH7

PRS Channel 7 selected as input

0x00000008 : PRSCH8

PRS Channel 8 selected as input

0x00000009 : PRSCH9

PRS Channel 9 selected as input

0x0000000A : PRSCH10

PRS Channel 10 selected as input

0x0000000B : PRSCH11

PRS Channel 11 selected as input

0x0000000C : PRSCH12

PRS Channel 12 selected as input

0x0000000D : PRSCH13

PRS Channel 13 selected as input

0x0000000E : PRSCH14

PRS Channel 14 selected as input

0x0000000F : PRSCH15

PRS Channel 15 selected as input

0x00000010 : PRSCH16

PRS Channel 16 selected as input

0x00000011 : PRSCH17

PRS Channel 17 selected as input

0x00000012 : PRSCH18

PRS Channel 18 selected as input

0x00000013 : PRSCH19

PRS Channel 19 selected as input

0x00000014 : PRSCH20

PRS Channel 20 selected as input

0x00000015 : PRSCH21

PRS Channel 21 selected as input

0x00000016 : PRSCH22

PRS Channel 22 selected as input

0x00000017 : PRSCH23

PRS Channel 23 selected as input

End of enumeration elements list.

PRSSTOPSEL : PRS Stop Select
bits : 6 - 10 (5 bit)
access : read-write

Enumeration:

0x00000000 : PRSCH0

PRS Channel 0 selected as input

0x00000001 : PRSCH1

PRS Channel 1 selected as input

0x00000002 : PRSCH2

PRS Channel 2 selected as input

0x00000003 : PRSCH3

PRS Channel 3 selected as input

0x00000004 : PRSCH4

PRS Channel 4 selected as input

0x00000005 : PRSCH5

PRS Channel 5 selected as input

0x00000006 : PRSCH6

PRS Channel 6 selected as input

0x00000007 : PRSCH7

PRS Channel 7 selected as input

0x00000008 : PRSCH8

PRS Channel 8 selected as input

0x00000009 : PRSCH9

PRS Channel 9 selected as input

0x0000000A : PRSCH10

PRS Channel 10 selected as input

0x0000000B : PRSCH11

PRS Channel 11 selected as input

0x0000000C : PRSCH12

PRS Channel 12 selected as input

0x0000000D : PRSCH13

PRS Channel 13 selected as input

0x0000000E : PRSCH14

PRS Channel 14 selected as input

0x0000000F : PRSCH15

PRS Channel 15 selected as input

0x00000010 : PRSCH16

PRS Channel 16 selected as input

0x00000011 : PRSCH17

PRS Channel 17 selected as input

0x00000012 : PRSCH18

PRS Channel 18 selected as input

0x00000013 : PRSCH19

PRS Channel 19 selected as input

0x00000014 : PRSCH20

PRS Channel 20 selected as input

0x00000015 : PRSCH21

PRS Channel 21 selected as input

0x00000016 : PRSCH22

PRS Channel 22 selected as input

0x00000017 : PRSCH23

PRS Channel 23 selected as input

End of enumeration elements list.

PRSCLEARSEL : PRS Clear Select
bits : 12 - 16 (5 bit)
access : read-write

Enumeration:

0x00000000 : PRSCH0

PRS Channel 0 selected as input

0x00000001 : PRSCH1

PRS Channel 1 selected as input

0x00000002 : PRSCH2

PRS Channel 2 selected as input

0x00000003 : PRSCH3

PRS Channel 3 selected as input

0x00000004 : PRSCH4

PRS Channel 4 selected as input

0x00000005 : PRSCH5

PRS Channel 5 selected as input

0x00000006 : PRSCH6

PRS Channel 6 selected as input

0x00000007 : PRSCH7

PRS Channel 7 selected as input

0x00000008 : PRSCH8

PRS Channel 8 selected as input

0x00000009 : PRSCH9

PRS Channel 9 selected as input

0x0000000A : PRSCH10

PRS Channel 10 selected as input

0x0000000B : PRSCH11

PRS Channel 11 selected as input

0x0000000C : PRSCH12

PRS Channel 12 selected as input

0x0000000D : PRSCH13

PRS Channel 13 selected as input

0x0000000E : PRSCH14

PRS Channel 14 selected as input

0x0000000F : PRSCH15

PRS Channel 15 selected as input

0x00000010 : PRSCH16

PRS Channel 16 selected as input

0x00000011 : PRSCH17

PRS Channel 17 selected as input

0x00000012 : PRSCH18

PRS Channel 18 selected as input

0x00000013 : PRSCH19

PRS Channel 19 selected as input

0x00000014 : PRSCH20

PRS Channel 20 selected as input

0x00000015 : PRSCH21

PRS Channel 21 selected as input

0x00000016 : PRSCH22

PRS Channel 22 selected as input

0x00000017 : PRSCH23

PRS Channel 23 selected as input

End of enumeration elements list.

PRSSTARTMODE : PRS Start Mode
bits : 18 - 19 (2 bit)
access : read-write

Enumeration:

0x00000000 : NONE

PRS cannot start the LETIMER

0x00000001 : RISING

Rising edge of selected PRS input can start the LETIMER

0x00000002 : FALLING

Falling edge of selected PRS input can start the LETIMER

0x00000003 : BOTH

Both the rising or falling edge of the selected PRS input can start the LETIMER

End of enumeration elements list.

PRSSTOPMODE : PRS Stop Mode
bits : 22 - 23 (2 bit)
access : read-write

Enumeration:

0x00000000 : NONE

PRS cannot stop the LETIMER

0x00000001 : RISING

Rising edge of selected PRS input can stop the LETIMER

0x00000002 : FALLING

Falling edge of selected PRS input can stop the LETIMER

0x00000003 : BOTH

Both the rising or falling edge of the selected PRS input can stop the LETIMER

End of enumeration elements list.

PRSCLEARMODE : PRS Clear Mode
bits : 26 - 27 (2 bit)
access : read-write

Enumeration:

0x00000000 : NONE

PRS cannot clear the LETIMER

0x00000001 : RISING

Rising edge of selected PRS input can clear the LETIMER

0x00000002 : FALLING

Falling edge of selected PRS input can clear the LETIMER

0x00000003 : BOTH

Both the rising or falling edge of the selected PRS input can clear the LETIMER

End of enumeration elements list.


STATUS

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

STATUS STATUS 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 RUNNING

RUNNING : LETIMER Running
bits : 0 - 0 (1 bit)
access : read-only


CNT

Counter Value Register
address_offset : 0xC 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 CNT

CNT : Counter 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.