IP2022 Data Sheet www.ubicom.com 99 7.3.16    T0CFG Register (Timer 0 Configura- tion) BO Brown-out reset bit. Set at reset, if reset
was triggered by brown-out voltage level
detection, otherwise cleared.
0 =   Last reset was not caused by           the brown-out voltage detector
          sensing a low-voltage condi-
          
tion.
1 =   Last reset was caused by the
brown-out voltage detector
sensing a low-voltage condi-
tion.
Z Zero bit. Affected by most logical, arith-
metic, and data movement instructions.
Set if the result was zero, otherwise
cleared.
0 =   Result of last ALU operation           was non-zero.
1 =   Result of last ALU operation
was zero. DC Digit Carry bit. After addition, set if carry
from bit 3 occurred, otherwise cleared.
After subtraction, cleared if borrow from
bit 3 occurred, otherwise set.
0 =   Last addition did not generate           carry out of bit 3, or last sub-
          traction generated borrow out
          
of bit 3.
1 =   Last addition generated carry
out of bit 3, or last subtraction
did not generate borrow out of
bit 3.
C Carry bit. After addition, set if carry from
bit 7 of the result occurred, otherwise
cleared. After subtraction, cleared if bor-
row from bit 7 of the result occurred, oth-
erwise set. After rotate (rr or rl)
instructions, loaded with the LSB or MSB
of the operand, respectively.
0 =   Last addition did not generate           carry out of bit 7, last subtrac-
          tion generated borrow out of bit
          7, or last rotate loaded a 0.
1 =   Last addition generated carry
out of bit 7, last subtraction did
not generate borrow out of bit
7, or last rotate loaded a 1.
Name Description 7 6 3 2 1 0 T0EN T0PS3:0 Rsrvd. T0IE T0IF Name Description T0EN Enables Timer 0 0 =   Timer 0 disabled
1 =   Timer 0 enabled
T0PS3:0 Specifies Timer 0 prescaler divisor 0000 =   1
0001 =   2
0010 =   4
0011 =   8
0100 =   16
0101 =   32
0110 =   64
 0111 =   128
1000 =   256
1001 to 1111 = Reserved T0IE Timer 0 interrupt enable bit 0 =   Timer 0 interrupt disabled
1 =   Timer 0 interrupt enabled
T0IF Timer 0 interrupt flag 0 =   No timer overflow has occurred           since this bit was last cleared
1 =   Timer overflow has occurred