Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

10.8.1 Registers Memory Map

Address

Group No.

Register Name

Description

0x9C002880

G81.0

icm0_cfg0

ICM0 Config Register 0

0x9C002884

G81.1

icm0_cfg1

ICM0 Config Register 1

0x9C002888

G81.2

icm0_cfg2

ICM0 Internal Counter Scaler

0x9C00288C

G81.3

icm0_cfg3

ICM0 Test Signal Scaler

0x9C002890

G81.4

icm0_cnt

ICM0 Interrupt Trigger Counter Value

0x9C002894

G81.5

icm0_pulse_width_h

ICM0 Pulse Width H

0x9C002898

G81.6

icm0_pulse_width_l

ICM0 Pulse Width L

0x9C00289C

G81.7

icm1_cfg0

ICM1 Config Register 0

0x9C0028A0

G81.8

icm1_cfg1

ICM1 Config Register 1

0x9C0028A4

G81.9

icm1_cfg2

ICM1 Internal Counter Scaler

0x9C0028A8

G81.10

icm1_cfg3

ICM1 Test Signal Scaler

0x9C0028AC

G81.11

icm1_cnt

ICM1 Interrupt Trigger Counter Value

0x9C0028B0

G81.12

icm1_pulse_witdh_h

ICM1 Pulse Width H

0x9C0028B4

G81.13

icm1_pulse_width_l

ICM1 Pulse Width L

0x9C0028B8

G81.14

icm2_cfg0

ICM2 Config Register 0

0x9C0028BC

G81.15

icm2_cfg1

ICM2 Config Register 1

0x9C0028C0

G81.16

icm2_cfg2

ICM2 Internal Counter Scaler

0x9C0028C4

G81.17

icm2_cfg3

ICM2 Test Signal Scaler

0x9C0028C8

G81.18

icm2_cnt

ICM2 Interrupt Trigger Counter Value

0x9C0028CC

G81.19

icm2_pulse_witdh_h

ICM2 Pulse Width H

0x9C0028D0

G81.20

icm2_pulse_width_l

ICM2 Pulse Width L

0x9C0028D4

G81.21

icm3_cfg0

ICM3 Config Register 0

0x9C0028D8

G81.22

icm3_cfg1

ICM3 Config Register 1

0x9C0028DC

G81.23

icm3_cfg2

ICM3 Internal Counter Scaler

0x9C0028E0

G81.24

icm3_cfg3

ICM3 Test Signal Scaler

0x9C0028E4

G81.25

icm3_cnt

ICM3 Interrupt Trigger Counter Value

0x9C0028E8

G81.26

icm3_pulse_witdh_h

ICM3 Pulse Width H

0x9C0028EC

G81.27

icm3_pulse_width_l

ICM3 Pulse Width L

0x9C0028F0

G81.28

reserved

reserved

0x9C0028F4

G81.29

reserved

reserved

0x9C0028F8

G81.30

reserved

reserved

0x9C0028FC

G81.31

reserved

reserved


10.8.2 Registers Description

...

Field NameBitAccessDescription
Write Mask Bits31:16RW

Write Mask Bits

Corresponding Mask Bits for Bit[15:0]

Example: If user want to set bit0 = 1, than he should set this register to 0x00010001 (bit 16 is bit 1 write mask bit).bit16 to 1 (0x 0001) to enable bit0 functionality

Reserve15:9RORESERVED
icm0 clk sel8:6RW

ICM0 Clock Source Select
0x0: External CLK 0
0x1: External CLK 1
0x2: External CLK 2
0x3: External CLK 3
0x4: SYSCLK
0x5: 27 MHz
0x6: 32 KHz
Others : 0

(Default value 是哪一個 ? 麻煩在後方註明 (Default))

icm0 mux sel5:3RW

Select input signal source.
0x0: Input 0
0x1: Input 1
0x2: Input 2
0x3: Input 3
0x4: Test Signal
Others: 0

icm0 int clr2W1C

Clear the interrupt.
0: N/A (default)
1: Clear Interrupt

Write 1 to clear interrupt, HW will recover this bit to 0 automatically.

Reserve1RWReservedRESERVED
icm0 en0RW

ICM0 enable
0: Disable (default), interrupt also cleared 
1: Enable

When set this bit to 0, it mean disabled input capture module 0 and the interrupt also cleared.

...

Field NameBitAccessDescription
Write Mask Bits31:16RW

Write Mask Bits

Corresponding Mask Bits for Bit[15:0]

Example: If user want to set bit0 = 1, than he should set this register to 0x00010001 (bit 16 is bit 1 write mask bit).bit16 to 1 (0x 0001) to enable bit0 functionality

icm0 fifo full15ROIndicate the fifo is full (fifo depth is 7).
0: Non-full
1: Full
icm0 fifo empty14ROIndicate the fifo is empty (fifo depth is 7).
0: Non-Empty
1: Empty
icm0 fifo clr13W1C

Input Capture Module 0 FIFO Clear

0: Writing 0 to this bit has no effect

1: Clear fifo and icm fifo data drop. 

Write 1 to clear fifo and icm fifo data drop flag, HW will recover this bit to 0 automatically.

icm0 fifo data drop12RO

Input Capture Module 0 Data Dropped

0: Non-dropped

1: Indicate the fifo data dropped.

Reserve11:9ROReservedRESERVED
icm0 df times8:6RW

Input Capture Module 0 Input Signal Debounce Filter

Set the debounce times (0-7) of the input signal debounce filter.

0x0-6: icm0 df times+1 times,

0x7: 16 times

icm0 ee times5:2RW

Input capture module interrupt trigger threshold 

Set 0-15. If set 7, interrupt will be triggered after 8 times edge event.

icm0 ee mode1:0RW

Input capture detect mode Select
0x0: Rising Edge Mode
0x1: Falling Edge Mode
0x2: Edge Detection Mode

Others don't care.

...

Field NameBitAccessDescription
Write Mask Bits31:16RW

Write Mask BitsExample

: If Corresponding Mask Bits for Bit[15:0]

Example: If user want to set bit0 = 1, than he should set this register to 0x00010001 (bit 16 is bit 1 write mask bit).bit16 to 1 (0x 0001) to enable bit0 functionality

Reserve15:9RORESERVED
icm1 clk sel8:6RWSelect clock source. (External CLK range 32K-210M Hz)
0: External CLK 0
1: External CLK 1
2: External CLK 2
3: External CLK 3
4: SYSCLK
5: 27 MHz
6: 32 KHz
Others : 0
icm1 mux sel5:3RWSelect input signal source.
0: Input 0
1: Input 1
2: Input 2
3: Input 3
4: Test Signal
Others: 0
icm1 int clr2W1C

Clear the interrupt.
0: N/A (default)
1: Clear Interrupt

Write 1 to clear interrupt, HW will recover this bit to 0 automatically.

Reserve1RWRESERVED
icm1 en0RW

ICM1 enable
0: Disable (default), interrupt also cleared 
1: Enable

When set this bit to 0, it mean disabled input capture module 1 and the interrupt also cleared.

...

Field NameBitAccessDescription
Write Mask Bits31:16RW

Write Mask Bits

Corresponding Mask Bits for Bit[15:0]

Example: If user want to set bit0 = 1, than he should set this register to 0x00010001 (bit 16 is bit 1 write mask bit).bit16 to 1 (0x 0001) to enable bit0 functionality

icm1 fifo full15ROIndicate the fifo is full (fifo depth is 7).
0: Non-full
1: Full
icm1 fifo empty14ROIndicate the fifo is empty (fifo depth is 7).
0: Non-Empty
1: Empty
icm1 fifo clr13W1C

Input Capture Module 1 FIFO Clear

0: Writing 0 to this bit has no effect

1: Clear fifo and icm fifo data drop. 

Write 1 to clear fifo and icm fifo data drop flag, HW will recover this bit to 0 automatically.

icm1 fifo data drop12RO

Input Capture Module 1 Data Dropped

0: Non-dropped

1: Indicate the fifo data dropped.

Reserve11:9ROReserved
icm1 df times8:6RW

Input Capture Module 1 Input Signal Debounce Filter

Set the debounce times (0-7) of the input signal debounce filter.

0x0-6: icm1 df times+1 times,

0x7: 16 times

icm10 ee times5:2RW

Input capture module interrupt trigger threshold 

Set 0-15. If set 7, interrupt will be triggered after 8 times edge event.

icm1 ee mode1:0RW

Input capture detect mode Select
0x0: Rising Edge Mode
0x1: Falling Edge Mode
0x2: Edge Detection Mode

Others don't care.

...

Field NameBitAccessDescription
Write Mask Bits31:16RW

Write Mask Bits

Corresponding Mask Bits for Bit[15:0]

Example: If user want to set bit0 = 1, than he should set this register to 0x00010001 (bit 16 is bit 1 write mask bit).bit16 to 1 (0x 0001) to enable bit0 functionality

Reserve15:9RORESERVED
icm2 clk sel8:6RWSelect clock source. (External CLK range 32K-210M Hz)
0: External CLK 0
1: External CLK 1
2: External CLK 2
3: External CLK 3
4: SYSCLK
5: 27 MHz
6: 32 KHz
Others : 0
icm2 mux sel5:3RWSelec input signal source.
0: Input 0
1: Input 1
2: Input 2
3: Input 3
4: Test Signal
Others: 0
icm2 int clr2W1C

Clear the interrupt.
0: N/A (default)
1: Clear Interrupt

Write 1 to clear interrupt, HW will recover this bit to 0 automatically.

Reserve1RWRESERVED
icm2 en0RW

ICM2 enable
0: Disable (default), interrupt also cleared 
1: Enable

When set this bit to 0, it mean disabled input capture module 2 and the interrupt also cleared.

...

Field NameBitAccessDescription
Write Mask Bits31:16RW

Write Mask Bits

Corresponding Mask Bits for Bit[15:0]

Example: If user want to set bit0 = 1, than he should set this register to 0x00010001 (bit 16 is bit 1 write mask bit).bit16 to 1 (0x 0001) to enable bit0 functionality

icm2 fifo full15ROIndicate the fifo is full (fifo depth is 7).
0: Non-full
1: Full
icm2 fifo empty14ROIndicate the fifo is empty (fifo depth is 7).
0: Non-Empty
1: Empty
icm2 fifo clr13W1C

Input Capture Module 2 FIFO Clear

0: Writing 0 to this bit has no effect

1: Clear fifo and icm fifo data drop. 

Write 1 to clear fifo and icm fifo data drop flag, HW will recover this bit to 0 automatically.

icm2 fifo data drop12RO

Input Capture Module 2 Data Dropped

0: Non-dropped

1: Indicate the fifo data dropped.

Reserve11:9ROReserved
icm2 df times8:6RW

Input Capture Module 2 Input Signal Debounce Filter

Set the debounce times (0-7) of the input signal debounce filter.

0x0-6: icm2 df times+1 times,

0x7: 16 times

icm2 ee times5:2RW

Input capture module interrupt trigger threshold 

Set 0-15. If set 7, interrupt will be triggered after 8 times edge event.

icm2 ee mode1:0RW

Input capture detect mode Select
0x0: Rising Edge Mode
0x1: Falling Edge Mode
0x2: Edge Detection Mode

Others don't care.

...

Field NameBitAccessDescription
Write Mask Bits31:16RW

Write Mask Bits

Corresponding Mask Bits for Bit[15:0]

Example: If user want to set bit0 = 1, than he should set this register to 0x00010001 (bit 16 is bit 1 write mask bit).bit16 to 1 (0x 0001) to enable bit0 functionality

Reserve15:9RORESERVED
icm3 clk sel8:6RWSelect clock source. (External CLK range 32K-210M Hz)
0: External CLK 0
1: External CLK 1
2: External CLK 2
3: External CLK 3
4: SYSCLK
5: 27 MHz
6: 32 KHz
Others : 0
icm3 mux sel5:3RWSelect input signal source.
0: Input 0
1: Input 1
2: Input 2
3: Input 3
4: Test Signal
Others: 0
icm3 int clr2W1C

Clear the interrupt.
0: N/A (default)
1: Clear Interrupt

Write 1 to clear interrupt, HW will recover this bit to 0 automatically.

Reserve1RWRESERVED
icm3 en0RW

ICM3 enable
0: Disable (default), interrupt also cleared 
1: Enable

When set this bit to 0, it mean disabled input capture module 3 and the interrupt also cleared.

...

Field NameBitAccessDescription
Write Mask Bits31:16RW

Write Mask Bits

Corresponding Mask Bits for Bit[15:0]

Example: If user want to set bit0 = 1, than he should set this register to 0x00010001 (bit 16 is bit 1 write mask bit).bit16 to 1 (0x 0001) to enable bit0 functionality

icm3 fifo full15ROIndicate the fifo is full (fifo depth is 7).
0: Non-full
1: Full
icm3 fifo empty14ROIndicate the fifo is empty (fifo depth is 7).
0: Non-Empty
1: Empty
icm3 fifo clr13W1C

Input Capture Module 3 FIFO Clear

0: Writing 0 to this bit has no effect

1: Clear fifo and icm fifo data drop. 

Write 1 to clear fifo and icm fifo data drop flag, HW will recover this bit to 0 automatically.

icm3 fifo data drop12RO

Input Capture Module 3 Data Dropped

0: Non-dropped

1: Indicate the fifo data dropped.

Reserve11:9ROReservedRESERVED
icm3 df times8:6RW

Input Capture Module 3 Input Signal Debounce Filter

Set the debounce times (0-7) of the input signal debounce filter.

0x0-6: icm3 df times+1 times,

0x7: 16 times

icm3 ee times5:2RW

Input capture module interrupt trigger threshold 

Set 0-15. If set 7, interrupt will be triggered after 8 times edge event.

icm3 ee mode1:0RW

Input capture detect mode Select
0x0: Rising Edge Mode
0x1: Falling Edge Mode
0x2: Edge Detection Mode

Others don't care.

...

Field Name

Bit

Access

Description

Reserved

31:0

RO

RESERVED



81.29 (Reserved)

Anchor
_GoBack
_GoBack

Address: 0x9C0028F4
Reset: 0x0000 0000

Field Name

Bit

Access

Description

Reserved

31:0

RO

RESERVED



81.30 (Reserved)
Address:0x9C0028F8
Reset: 0x0000 0000

Field Name

Bit

Access

Description

Reserved

31:0

RO

ReservedRESERVED



81.31 IP Version (ip version)
Address: 0x9C0028FC

...