\n

Timers

Peripheral Memory Blocks

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

Registers

CNT

CN

NOLCMP

CMP

PWM

INTR


CNT

Count. This register stores the current timer count.
address_offset : 0x0 Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

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

CN

Timer Control Register.
address_offset : 0x10 Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

CN CN 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 TMODE PRES TPOL TEN PRES3 PWMSYNC NOLHPOL NOLLPOL PWMCKBD

TMODE : Timer Mode.
bits : 0 - 2 (3 bit)

Enumeration:

0 : oneShot

One Shot Mode.

1 : continuous

Continuous Mode.

2 : counter

Counter Mode.

3 : pwm

PWM Mode.

4 : capture

Capture Mode.

5 : compare

Compare Mode.

6 : gated

Gated Mode.

7 : captureCompare

Capture/Compare Mode.

End of enumeration elements list.

PRES : Prescaler. Set the Timer's prescaler value. The prescaler divides the PCLK input to the timer and sets the Timer's Count Clock, F_CNT_CLK = PCLK(HZ)/prescaler. The Timer's prescaler setting is a 4-bit value with pres3:pres[2:0].
bits : 3 - 5 (3 bit)

Enumeration:

0 : div1

Divide by 1.

1 : div2

Divide by 2.

2 : div4

Divide by 4.

3 : div8

Divide by 8.

4 : div16

Divide by 16.

5 : div32

Divide by 32.

6 : div64

Divide by 64.

7 : div128

Divide by 128.

End of enumeration elements list.

TPOL : Timer input/output polarity bit.
bits : 6 - 6 (1 bit)

Enumeration:

0 : activeHi

Active High.

1 : activeLo

Active Low.

End of enumeration elements list.

TEN : Timer Enable.
bits : 7 - 7 (1 bit)

Enumeration:

0 : dis

Disable.

1 : en

Enable.

End of enumeration elements list.

PRES3 : MSB of prescaler value.
bits : 8 - 8 (1 bit)

PWMSYNC : Timer PWM Synchronization Mode Enable.
bits : 9 - 9 (1 bit)

Enumeration:

0 : dis

Disable.

1 : en

Enable.

End of enumeration elements list.

NOLHPOL : Timer PWM output 0A polarity bit.
bits : 10 - 10 (1 bit)

Enumeration:

0 : dis

Disable.

1 : en

Enable.

End of enumeration elements list.

NOLLPOL : Timer PWM output 0A' polarity bit.
bits : 11 - 11 (1 bit)

Enumeration:

0 : dis

Disable.

1 : en

Enable.

End of enumeration elements list.

PWMCKBD : Timer PWM output 0A Mode Disable.
bits : 12 - 12 (1 bit)

Enumeration:

1 : dis

Disable.

0 : en

Enable.

End of enumeration elements list.


NOLCMP

Timer Non-Overlapping Compare Register.
address_offset : 0x14 Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

NOLCMP NOLCMP 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 NOLLCMP NOLHCMP

NOLLCMP : Non-overlapping Low Compare. The 8-bit timer count value of non-overlapping time between falling edge of PWM output 0A and next rising edge of PWM output 0A'.
bits : 0 - 7 (8 bit)

NOLHCMP : Non-overlapping High Compare. The 8-bit timer count value of non-overlapping time between falling edge of PWM output 0A' and next rising edge of PWM output 0A.
bits : 8 - 15 (8 bit)


CMP

Compare. This register stores the compare value, which is used to set the maximum count value to initiate a reload of the timer to 0x0001.
address_offset : 0x4 Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

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

PWM

PWM. This register stores the value that is compared to the current timer count.
address_offset : 0x8 Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

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

INTR

Clear Interrupt. Writing a value (0 or 1) to a bit in this register clears the associated interrupt.
address_offset : 0xC Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

INTR INTR 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 IRQ_CLR

IRQ_CLR : Clear Interrupt.
bits : 0 - 0 (1 bit)



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.