2.12.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. See Port Debounce Initialization for a functional description, and I/O Ports for a hardware description.
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. See Port Debounce Initialization for a functional description, and I/O Ports for a hardware description.
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 port B/C (DBENB/C) and contain the debouncing enable configuration of port B and port C. See Port Debounce Initialization for a functional description, and I/O Ports for a hardware description.
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 Port B
Bits 7..0: DBENC[7:0] – Debounce Enable Port C