### SENSOR_PC_CFG

Bit Field | Read/Write | Field Name | Description
--- | --- | --- | ---
16 | RW | PC_COUNT_ON | Pulse counter count on rising edge or high state
14:12 | RW | PC_SRC_SEL | Pulse count source selection
9:0 | RW | COUNT_INT | Duration of count state

Bit Field | Field Name | Value Symbol | Value Description | Hex Value
--- | --- | --- | --- | ---
16 | PC_COUNT_ON | PC_COUNT_ON_HIGH_LEVEL | Count on high level | 0x0*
|  | PC_COUNT_ON_RISING_EDGE | Count on rising edge | 0x1
14:12 | PC_SRC_SEL | PC_SRC_GPIO_0 | Select GPIO[0] as source | 0x0
|  | PC_SRC_GPIO_1 | Select GPIO[1] as source | 0x1
|  | PC_SRC_GPIO_2 | Select GPIO[2] as source | 0x2
|  | PC_SRC_GPIO_3 | Select GPIO[3] as source | 0x3
|  | PC_SRC_CONST_LOW | Select constant low as source | 0x4
|  | PC_SRC_CONST_HIGH | Select constant high as source | 0x5*
9:0 | COUNT_INT | COUNT_INT_1 | Number of SENSOR_CLK periods for "Count Sample State": 1 | 0x0
|  | COUNT_INT_2 | Number of SENSOR_CLK periods for "Count Sample State": 2 | 0x1
|  | COUNT_INT_3 | Number of SENSOR_CLK periods for "Count Sample State": 3 | 0x2
|  | COUNT_INT_4 | Number of SENSOR_CLK periods for "Count Sample State": 4 | 0x3*
|  | COUNT_INT_256 | Number of SENSOR_CLK periods for "Count Sample State": 256 | 0xFF
|  | COUNT_INT_1023 | Number of SENSOR_CLK periods for "Count Sample State": 1023 | 0x3FE