\n
address_offset : 0x0 Bytes (0x0)
size : 0x12 byte (0x0)
mem_usage : registers
protection :
PWDT Initialize Register 0
address_offset : 0x0 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
OVF : PWDT Counter Overflow flag
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
#0 : 0
Counter no overflow
#1 : 1
Counter overflow
End of enumeration elements list.
RDYF : PWDT Pulse Width Ready Flag
bits : 1 - 1 (1 bit)
access : read-write
Enumeration:
#0 : 0
PWDT pulse width register is not up-to-date
#1 : 1
PWDT pulse width register has been updated
End of enumeration elements list.
OVIE : PWDT Counter Overflow Interrupt Enable
bits : 3 - 3 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable interrupt
#1 : 1
Enable interrupt
End of enumeration elements list.
PRDYIE : PWDT Pulse Width Data Ready Interrupt Enable
bits : 4 - 4 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable interrupt
#1 : 1
Enable interrupt
End of enumeration elements list.
IE : PWDT Module Interrupt Enable
bits : 5 - 5 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable interrupt
#1 : 1
Enable interrupt
End of enumeration elements list.
PWDTEN : PWDT Module Enable
bits : 6 - 6 (1 bit)
access : read-write
Enumeration:
#0 : 0
PWDT disabled
#1 : 1
PWDT enabled
End of enumeration elements list.
PSC0 : PWDT Clock Prescaler 0
bits : 7 - 9 (3 bit)
access : read-write
Enumeration:
#000 : 000
Clock divided by 1
#001 : 001
Clock divided by 2
#010 : 010
Clock divided by 4
#011 : 011
Clock divided by 8
#100 : 100
Clock divided by 16
#101 : 101
Clock divided by 32
#110 : 110
Clock divided by 64
#111 : 111
Clock divided by 128
End of enumeration elements list.
EDGE : PWDT Input Edge Sensitivity
bits : 10 - 11 (2 bit)
access : read-write
Enumeration:
#00 : 00
The first falling-edge starts the pulse width measurement, and on all the subsequent falling edges, the pulse width is captured.
#01 : 01
The first rising edge starts the pulse width measurement, and on all the subsequent rising and falling edges, the pulse width is captured.
#10 : 10
The first falling edge starts the pulse width measurement, and on all the subsequent rising and falling edges, the pulse width is captured.
#11 : 11
The first-rising edge starts the pulse width measurement, and on all the subsequent rising edges, the pulse width is captured.
End of enumeration elements list.
PINSEL : PWDT Pulse Inputs Selection
bits : 12 - 13 (2 bit)
access : read-write
Enumeration:
#00 : 00
PWDTIN[0] as input
#01 : 01
PWDTIN[1] as input
#10 : 10
PWDTIN[2] as input
#11 : 11
PWDTIN[3] as input
End of enumeration elements list.
PSC1 : PWDT Clock Prescaler 1
bits : 14 - 15 (2 bit)
access : read-write
Enumeration:
#00 : 00
Clock divided by 1
#01 : 01
Clock divided by 2
#10 : 10
Clock divided by 4
End of enumeration elements list.
PPW : Positive Pulse Width
bits : 16 - 31 (16 bit)
access : read-only
Negative Pulse Width
address_offset : 0x4 Bytes (0x0)
size : 32 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0
NPW : Negative Pulse Width
bits : 0 - 15 (16 bit)
access : read-only
PWDTC : PWDT Counter
bits : 16 - 31 (16 bit)
access : read-only
Pulse Width Detection Timer Initialize Register 1
address_offset : 0x8 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
FILTVAL : PWDT filter Value
bits : 0 - 3 (4 bit)
access : read-write
FILTPSC : PWDT input filter prescaler
bits : 4 - 7 (4 bit)
access : read-write
FILTEN : PWDT input filter function Enable Bit
bits : 8 - 8 (1 bit)
access : read-write
Enumeration:
#0 : 0
Filter disable
#1 : 1
Filter enable
End of enumeration elements list.
HALLEN : Hall Sensor Signal Detect function Enable Bit
bits : 9 - 9 (1 bit)
access : read-write
Enumeration:
#0 : 0
Hall Sensor Signal Detect function Disable
#1 : 1
Hall Sensor Signal Detect function Enable
End of enumeration elements list.
TIMEN : PWDT Timer Function Enable Bit
bits : 10 - 10 (1 bit)
access : read-write
Enumeration:
#0 : 0
PWDT Timer Function Disable
#1 : 1
PWDT Timer Function Enable
End of enumeration elements list.
CMPEN : PWDT Compare Mode Enable Bit
bits : 11 - 11 (1 bit)
access : read-write
Enumeration:
#0 : 0
Set the pwt_in0 ~ pwt_in2 derived from acmp0_pwt_a ~ acmp0_pwt_c
#1 : 1
Set the pwt_in0 ~ pwt_in2 derived from pad pwt_in0 ~ pwt_in2
End of enumeration elements list.
TIMLDVAL : PWDT Timer Load Value
bits : 12 - 27 (16 bit)
access : read-write
HALLSTATUS : HALL Sensor Status Value
bits : 28 - 30 (3 bit)
access : read-only
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.