Datasheet

458
32133D–11/2011
UC3D
23.9.2 Clock Waveform Generator Register
Name:
CWGR
Access Type: Read/Write
Offset: 0x04
Reset Value: 0x00000000
EXP: Clock Prescaler
Used to specify how to prescale the TWCK clock. Counters are prescaled according to the following formula
DATA: Data Setup and Hold Cycles
Clock cycles for data setup and hold count. Prescaled by CWGR.EXP. Used to time T
HD_DAT
, T
SU_DAT
.
STASTO: START and STOP Cycles
Clock cycles in clock high count. Prescaled by CWGR.EXP. Used to time T
HD_STA
, T
SU_STA
, T
SU_STO
HIGH: Clock High Cycles
Clock cycles in clock high count. Prescaled by CWGR.EXP. Used to time T
HIGH
.
LOW: Clock Low Cycles
Clock cycles in clock low count. Prescaled by CWGR.EXP. Used to time T
LOW
, T
BUF
.
31 30 29 28 27 26 25 24
- EXP DATA
23 22 21 20 19 18 17 16
STASTO
15 14 13 12 11 10 9 8
HIGH
76543210
LOW
f
PRESCALER
f
CLK_TWIM
2
EXP 1+()
--------------------------
=