3.11.14 sEEPromDebouncing eepDebounce

The sEEPromDebouncing eepDebounce variable contains the register setting for debouncing.

DBCR

The DBCR variable is a copy of the Debounce Control Register (DBCR) and contains the control settings of the port debouncing. For more details on the functional description, see Port Debounce Initialization from Related Links. For more details on the hardware description, see I/O Ports from Related Links.

Address

Name

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

0x0263

DBCR

DBTMS

DBCS

DBMD

Bits 7..3: Reserved Bits

These bits are reserved for future use and must be set to ‘0’.

Bit 2: DBTMS – Debounce Timer Mask Select

Bit 1: DBCS – Debounce Clock Select

Bit 0: DBMD – Debounce Mode

DBTC

The DBTC variable is a copy of the Debounce Timer Compare Register (DBTC) and contains the control settings of the debounce timer. For more details on the functional description, see Port Debounce Initialization from Related Links. For more details on the hardware description, see I/O Ports from Related Links.

Address

Name

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

0x0264

DBTC

DBTC[7:0]

Bits 7..0: DBTC[7:0] – Debounce Timer Compare

DBENB, DBENC

The DBENB/C variables are a copy of the Debounce Enable registers for PORTB/C (DBENB/C) and contain the debouncing enable configuration of PORTB and PORTC. For more details on the functional description, see Port Debounce Initialization from Related Links. For more details on the hardware description, see I/O Ports from Related Links.

Address

Name

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

0x0265

DBENB

DBENB[7:0]

0x0266

DBENC

DBENC[7:0]

Bits 7..0: DBENB[7:0] – Debounce Enable PORTB

Bits 7..0: DBENC[7:0] – Debounce Enable PORTC