\n
address_offset : 0x0 Bytes (0x0)
size : 0x24 byte (0x0)
mem_usage : registers
protection :
Capture Timer control register
address_offset : 0x0 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CAPTIM_EN : '1' Capture Timer enabled, else disabled
bits : 0 - 0 (1 bit)
access : read-write
CAPTIM_ONESHOT_MODE_EN : '1' OneShot mode enabled, '0' Capture/Timer mode enabled
bits : 1 - 2 (2 bit)
access : read-write
CAPTIM_COUNT_DOWN_EN : '1' timer counts down, '0' count up
bits : 2 - 4 (3 bit)
access : read-write
CAPTIM_IN1_EVENT_FALL_EN : '1' input2 event type is falling edge, '0' rising edge
bits : 3 - 6 (4 bit)
access : read-write
CAPTIM_IN2_EVENT_FALL_EN : '1' input1 event type is falling edge, '0' rising edge
bits : 4 - 8 (5 bit)
access : read-write
CAPTIM_IRQ_EN : '1' Capture timer IRQ is unmasked, '0' masked
bits : 5 - 10 (6 bit)
access : read-write
CAPTIM_FREE_RUN_MODE_EN : Valid when timer counts up, if it is '1' timer does not zero when reaches to reload value. it becomes zero only when it reaches the max value.
bits : 6 - 12 (7 bit)
access : read-write
CAPTIM_SYS_CLK_EN : '1' Capture Timer uses the system clock '0' Capture Timer uses the 32KHz clock
bits : 7 - 14 (8 bit)
access : read-write
Capture Timer value for event on GPIO1
address_offset : 0x10 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CAPTIM_CAPTURE_GPIO1 : Gives the Capture time for event on GPIO1
bits : 0 - 15 (16 bit)
access : read-only
Capture Timer value for event on GPIO2
address_offset : 0x12 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CAPTIM_CAPTURE_GPIO2 : Gives the Capture time for event on GPIO2
bits : 0 - 15 (16 bit)
access : read-only
Capture Timer interrupt status register
address_offset : 0x14 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CAPTIM_PRESCALER_VAL : Gives the current prescaler value
bits : 0 - 15 (16 bit)
access : read-only
Capture Timer pwm frequency register
address_offset : 0x16 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CAPTIM_PWM_FREQ : Defines the PWM frequency. Timer clock frequency / (CAPTIM_PWM_FREQ+1)
bits : 0 - 15 (16 bit)
access : read-write
Capture Timer pwm dc register
address_offset : 0x18 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CAPTIM_PWM_DC : Defines the PWM duty cycle. CAPTIM_PWM_DC / ( CAPTIM_PWM_FREQ+1)
bits : 0 - 15 (16 bit)
access : read-write
Capture Timer counter high value
address_offset : 0x1A Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CAPTIM_TIMER_HVALUE : Gives the current timer high value
bits : 0 - 15 (16 bit)
access : read-only
Capture Timer reload high value and Delay in shot mode
address_offset : 0x1C Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CAPTIM_RELOAD_HIGH : Reload high value or max high value in timer mode, Delay phase duration in oneshot mode. Actual delay is the register value plus synchronization time (3 clock cycles)
bits : 0 - 15 (16 bit)
access : read-write
Capture Timer high value for event on GPIO01
address_offset : 0x1E Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CAPTIM_CAPTURE_HIGH_GPIO1 : Gives the Capture high time for event on GPIO1
bits : 0 - 15 (16 bit)
access : read-only
Capture Timer counter value
address_offset : 0x2 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CAPTIM_TIMER_VALUE : Gives the current timer value
bits : 0 - 15 (16 bit)
access : read-only
Capture Timer high value for event on GPIO02
address_offset : 0x20 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CAPTIM_CAPTURE_HIGH_GPIO2 : Gives the Capture high time for event on GPIO2
bits : 0 - 15 (16 bit)
access : read-only
Capture Timer Shot high duration in shot mode
address_offset : 0x22 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CAPTIM_SHOTWIDTH_HIGH : Shot phase high duration in oneshot mode
bits : 0 - 15 (16 bit)
access : read-write
Capture Timer status register
address_offset : 0x4 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CAPTIM_IN1_STATE : Gives the logic level of the IN2
bits : 0 - 0 (1 bit)
access : read-only
CAPTIM_IN2_STATE : Gives the logic level of the IN1
bits : 1 - 2 (2 bit)
access : read-only
CAPTIM_ONESHOT_PHASE : 0 : Wait for event, 1 : Delay phase, 2 : Start Shot, 3 : Shot phase
bits : 2 - 5 (4 bit)
access : read-only
Capture Timer gpio1 selection
address_offset : 0x6 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CAPTIM_GPIO1_CONF : Select one of the 37 GPIOs as IN1, Valid value 0-37. 1 for P00 .. 37 for P47. 0 Disable input
bits : 0 - 5 (6 bit)
access : read-write
Capture Timer gpio2 selection
address_offset : 0x8 Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CAPTIM_GPIO2_CONF : Select one of the 37 GPIOs as IN2, Valid value 0-37. 1 for P00 .. 37 for P47. 0 Disable input
bits : 0 - 5 (6 bit)
access : read-write
Capture Timer reload value and Delay in shot mode
address_offset : 0xA Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CAPTIM_RELOAD : Reload or max value in timer mode, Delay phase duration in oneshot mode. Actual delay is the register value plus synchronization time (3 clock cycles)
bits : 0 - 15 (16 bit)
access : read-write
Capture Timer Shot duration in shot mode
address_offset : 0xC Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CAPTIM_SHOTWIDTH : Shot phase duration in oneshot mode
bits : 0 - 15 (16 bit)
access : read-write
Capture Timer prescaler value
address_offset : 0xE Bytes (0x0)
size : 16 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CAPTIM_PRESCALER : Defines the timer count frequncy. CLOCK frequency / (CAPTIM_PRESCARLER+1)
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 Embeetle, an IDE designed from scratch for embedded software developers.