AUX_TIMER

Instance: AUX_TIMER
Component: AUX_TIMER
Base address: 0x400C7000


AUX Timer

TOP:AUX_TIMER Register Summary

Register Name

Type

Register Width (Bits)

Register Reset

Address Offset

Physical Address

T0CFG

RW

32

0x0000 0000

0x0000 0000

0x400C 7000

T1CFG

RW

32

0x0000 0000

0x0000 0004

0x400C 7004

T0CTL

RW

32

0x0000 0000

0x0000 0008

0x400C 7008

T0TARGET

RW

32

0x0000 0000

0x0000 000C

0x400C 700C

T1TARGET

RW

32

0x0000 0000

0x0000 0010

0x400C 7010

T1CTL

RW

32

0x0000 0000

0x0000 0014

0x400C 7014

TOP:AUX_TIMER Register Descriptions

TOP:AUX_TIMER:T0CFG

Address Offset 0x0000 0000
Physical Address 0x400C 7000 Instance 0x400C 7000
Description Timer 0 Configuration
Type RW
Bits Field Name Description Type Reset
31:14 RESERVED14 Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. RO 0b00 0000 0000 0000 0000
13 TICK_SRC_POL Tick source polarity for Timer 0.
Value ENUM Name Description
0x0 RISE Count on rising edges of TICK_SRC.
0x1 FALL Count on falling edges of TICK_SRC.
RW 0
12:8 TICK_SRC Select Timer 0 tick source from the synchronous event bus.
Value ENUM Name Description
0x0 RTC_CH2_EV AUX_EVCTL:EVSTAT0.AON_RTC_CH2
0x1 AUX_COMPA AUX_EVCTL:EVSTAT0.AUX_COMPA
0x2 AUX_COMPB AUX_EVCTL:EVSTAT0.AUX_COMPB
0x3 TDC_DONE AUX_EVCTL:EVSTAT0.TDC_DONE
0x5 TIMER1_EV AUX_EVCTL:EVSTAT0.TIMER1_EV
0x6 SMPH_AUTOTAKE_DONE AUX_EVCTL:EVSTAT0.SMPH_AUTOTAKE_DONE
0x7 ADC_DONE AUX_EVCTL:EVSTAT0.ADC_DONE
0x8 RTC_4KHZ AON_RTC:SUBSEC.VALUE bit 19. AON_RTC:CTL.RTC_4KHZ_EN enables this event.
0x9 OBSMUX0 AUX_EVCTL:EVSTAT0.OBSMUX0
0xA OBSMUX1 AUX_EVCTL:EVSTAT0.OBSMUX1
0xB AON_SW AUX_EVCTL:EVSTAT0.AON_SW
0xC AON_PROG_WU AUX_EVCTL:EVSTAT0.AON_PROG_WU
0xD AUXIO0 AUX_EVCTL:EVSTAT0.AUXIO0
0xE AUXIO1 AUX_EVCTL:EVSTAT0.AUXIO1
0xF AUXIO2 AUX_EVCTL:EVSTAT0.AUXIO2
0x10 AUXIO3 AUX_EVCTL:EVSTAT1.AUXIO3
0x11 AUXIO4 AUX_EVCTL:EVSTAT1.AUXIO4
0x12 AUXIO5 AUX_EVCTL:EVSTAT1.AUXIO5
0x13 AUXIO6 AUX_EVCTL:EVSTAT1.AUXIO6
0x14 AUXIO7 AUX_EVCTL:EVSTAT1.AUXIO7
0x15 AUXIO8 AUX_EVCTL:EVSTAT1.AUXIO8
0x16 AUXIO9 AUX_EVCTL:EVSTAT1.AUXIO9
0x17 AUXIO10 AUX_EVCTL:EVSTAT1.AUXIO10
0x18 AUXIO11 AUX_EVCTL:EVSTAT1.AUXIO11
0x19 AUXIO12 AUX_EVCTL:EVSTAT1.AUXIO12
0x1A AUXIO13 AUX_EVCTL:EVSTAT1.AUXIO13
0x1B AUXIO14 AUX_EVCTL:EVSTAT1.AUXIO14
0x1C AUXIO15 AUX_EVCTL:EVSTAT1.AUXIO15
0x1D ACLK_REF AUX_EVCTL:EVSTAT1.ACLK_REF
0x1E MCU_EVENT AUX_EVCTL:EVSTAT1.MCU_EV
0x1F ADC_IRQ AUX_EVCTL:EVSTAT1.ADC_IRQ
RW 0b0 0000
7:4 PRE Prescaler division ratio is 2^PRE:

0x0: Divide by 1.
0x1: Divide by 2.
0x2: Divide by 4.
...
0xF: Divide by 32,768.
RW 0x0
3:2 RESERVED2 Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. RO 0b00
1 MODE Timer 0 mode.

Configure source for Timer 0 prescaler.
Value ENUM Name Description
0x0 CLK Use AUX clock as source for prescaler.
0x1 TICK Use event set by TICK_SRC as source for prescaler.
RW 0
0 RELOAD Timer 0 reload mode.
Value ENUM Name Description
0x0 MAN Manual mode.

Timer 0 stops and T0CTL.EN becomes 0 when the counter value becomes equal to or greater than T0TARGET.VALUE.
0x1 CONT Continuous mode.

Timer 0 restarts when the counter value becomes equal to or greater than ( T0TARGET.VALUE - 1).
RW 0

TOP:AUX_TIMER:T1CFG

Address Offset 0x0000 0004
Physical Address 0x400C 7004 Instance 0x400C 7004
Description Timer 1 Configuration
Type RW
Bits Field Name Description Type Reset
31:14 RESERVED14 Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. RO 0b00 0000 0000 0000 0000
13 TICK_SRC_POL Tick source polarity for Timer 1.
Value ENUM Name Description
0x0 RISE Count on rising edges of TICK_SRC.
0x1 FALL Count on falling edges of TICK_SRC.
RW 0
12:8 TICK_SRC Select Timer 1 tick source from the synchronous event bus.
Value ENUM Name Description
0x0 RTC_CH2_EV AUX_EVCTL:EVSTAT0.AON_RTC_CH2
0x1 AUX_COMPA AUX_EVCTL:EVSTAT0.AUX_COMPA
0x2 AUX_COMPB AUX_EVCTL:EVSTAT0.AUX_COMPB
0x3 TDC_DONE AUX_EVCTL:EVSTAT0.TDC_DONE
0x4 TIMER0_EV AUX_EVCTL:EVSTAT0.TIMER0_EV
0x6 SMPH_AUTOTAKE_DONE AUX_EVCTL:EVSTAT0.SMPH_AUTOTAKE_DONE
0x7 ADC_DONE AUX_EVCTL:EVSTAT0.ADC_DONE
0x8 RTC_4KHZ AON_RTC:SUBSEC.VALUE bit 19. AON_RTC:CTL.RTC_4KHZ_EN enables this event.
0x9 OBSMUX0 AUX_EVCTL:EVSTAT0.OBSMUX0
0xA OBSMUX1 AUX_EVCTL:EVSTAT0.OBSMUX1
0xB AON_SW AUX_EVCTL:EVSTAT0.AON_SW
0xC AON_PROG_WU AUX_EVCTL:EVSTAT0.AON_PROG_WU
0xD AUXIO0 AUX_EVCTL:EVSTAT0.AUXIO0
0xE AUXIO1 AUX_EVCTL:EVSTAT0.AUXIO1
0xF AUXIO2 AUX_EVCTL:EVSTAT0.AUXIO2
0x10 AUXIO3 AUX_EVCTL:EVSTAT1.AUXIO3
0x11 AUXIO4 AUX_EVCTL:EVSTAT1.AUXIO4
0x12 AUXIO5 AUX_EVCTL:EVSTAT1.AUXIO5
0x13 AUXIO6 AUX_EVCTL:EVSTAT1.AUXIO6
0x14 AUXIO7 AUX_EVCTL:EVSTAT1.AUXIO7
0x15 AUXIO8 AUX_EVCTL:EVSTAT1.AUXIO8
0x16 AUXIO9 AUX_EVCTL:EVSTAT1.AUXIO9
0x17 AUXIO10 AUX_EVCTL:EVSTAT1.AUXIO10
0x18 AUXIO11 AUX_EVCTL:EVSTAT1.AUXIO11
0x19 AUXIO12 AUX_EVCTL:EVSTAT1.AUXIO12
0x1A AUXIO13 AUX_EVCTL:EVSTAT1.AUXIO13
0x1B AUXIO14 AUX_EVCTL:EVSTAT1.AUXIO14
0x1C AUXIO15 AUX_EVCTL:EVSTAT1.AUXIO15
0x1D ACLK_REF AUX_EVCTL:EVSTAT1.ACLK_REF
0x1E MCU_EVENT AUX_EVCTL:EVSTAT1.MCU_EV
0x1F ADC_IRQ AUX_EVCTL:EVSTAT1.ADC_IRQ
RW 0b0 0000
7:4 PRE Prescaler division ratio is 2^PRE:

0x0: Divide by 1.
0x1: Divide by 2.
0x2: Divide by 4.
...
0xF: Divide by 32,768.
RW 0x0
3:2 RESERVED2 Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. RO 0b00
1 MODE Timer 1 mode.

Configure source for Timer 1 prescaler.
Value ENUM Name Description
0x0 CLK Use AUX clock as source for prescaler.
0x1 TICK Use event set by TICK_SRC as source for prescaler.
RW 0
0 RELOAD Timer 1 reload mode.
Value ENUM Name Description
0x0 MAN Manual mode.

Timer 1 stops and T1CTL.EN becomes 0 when the counter value becomes equal to or greater than T1TARGET.VALUE.
0x1 CONT Continuous mode.

Timer 1 restarts when the counter value becomes equal to or greater than ( T1TARGET.VALUE - 1).
RW 0

TOP:AUX_TIMER:T0CTL

Address Offset 0x0000 0008
Physical Address 0x400C 7008 Instance 0x400C 7008
Description Timer 0 Control
Type RW
Bits Field Name Description Type Reset
31:1 RESERVED1 Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. RO 0b000 0000 0000 0000 0000 0000 0000 0000
0 EN Timer 0 enable.

0: Disable Timer 0.
1: Enable Timer 0.

The counter restarts from 0 when you enable Timer 0.
RW 0

TOP:AUX_TIMER:T0TARGET

Address Offset 0x0000 000C
Physical Address 0x400C 700C Instance 0x400C 700C
Description Timer 0 Target
Type RW
Bits Field Name Description Type Reset
31:16 RESERVED16 Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. RO 0x0000
15:0 VALUE Timer 0 target value.

Manual Reload Mode:
- Timer 0 increments until the counter value becomes equal to or greater than VALUE.
- AUX_TIMER0_EV pulses high for 1 AUX clock period when the counter value is equal to or greater than VALUE.

Note: When VALUE is 0, Timer 0 counts to 1. AUX_TIMER0_EV pulses high for 1 AUX clock period.

Continuous Reload Mode:
- Timer 0 increments until the counter value becomes equal to or greater than ( VALUE - 1), then restarts from 0.
- AUX_TIMER0_EV pulses high for 1 AUX clock period when the counter value is 0, except for when you enable the timer.

Note: When VALUE is less than 2, Timer 0 counter value remains 0. AUX_TIMER0_EV goes high and remains high 1 AUX clock period after you enable the timer.


It is allowed to update the VALUE while the timer runs.
RW 0x0000

TOP:AUX_TIMER:T1TARGET

Address Offset 0x0000 0010
Physical Address 0x400C 7010 Instance 0x400C 7010
Description Timer 1 Target

Timer 1 counter target value
Type RW
Bits Field Name Description Type Reset
31:8 RESERVED8 Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. RO 0x00 0000
7:0 VALUE Timer 1 target value.

Manual Reload Mode:
- Timer 1 increments until the counter value becomes equal to or greater than VALUE.
- AUX_TIMER1_EV pulses high for 1 AUX clock period when the counter value is equal to or greater than VALUE.

Note: When VALUE is 0, Timer 1 counts to 1. AUX_TIMER1_EV pulses high for 1 AUX clock period.

Continuous Reload Mode:
- Timer 1 increments until the counter value becomes equal to or greater than ( VALUE - 1), then restarts from 0.
- AUX_TIMER1_EV pulses high for 1 AUX clock period when the counter value is 0, except for when you enable the timer.

Note: When VALUE is less than 2, Timer 1 counter value remains 0. AUX_TIMER1_EV goes high and remains high 1 AUX clock period after you enable the timer.


It is allowed to update the VALUE while the timer runs.
RW 0x00

TOP:AUX_TIMER:T1CTL

Address Offset 0x0000 0014
Physical Address 0x400C 7014 Instance 0x400C 7014
Description Timer 1 Control
Type RW
Bits Field Name Description Type Reset
31:1 RESERVED1 Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. RO 0b000 0000 0000 0000 0000 0000 0000 0000
0 EN Timer 1 enable.

0: Disable Timer 1.
1: Enable Timer 1.

The counter restarts from 0 when you enable Timer 1.
RW 0