Samsung S3C84E5 Microphone User Manual


 
S3C84E5/C84E9/P84E9 8-BIT TIMER A/B
11-7
TIMER B PULSE WIDTH CALCULATIONS
t
LOW
t
LOW
t
HIGH
To generate the above repeated waveform consisted of low period time, t
LOW
, and high period time, t
HIGH
.
When T-FF = 0,
t
LOW
= (TBDATAL + 1) x 1/fx, 0H < TBDATAL < 100H, where fx = The selected clock.
t
HIGH
= (TBDATAH + 1) x 1/fx, 0H < TBDATAH < 100H, where fx = The selected clock.
When T-FF = 1,
t
LOW
= (TBDATAH + 1) x 1/fx, 0H < TBDATAH < 100H, where fx = The selected clock.
t
HIGH
= (TBDATAL + 1) x 1/fx, 0H < TBDATAL < 100H, where fx = The selected clock.
To make t
LOW
= 24 us and t
HIGH
= 15 us. f
OSC
= 4 MHz, fx = 4 MHz/4 = 1 MHz
When T-FF = 0,
t
LOW
= 24 us = (TBDATAL + 1) /fx = (TBDATAL + 1) x 1us, TBDATAL = 23.
t
HIGH
= 15 us = (TBDATAH + 1) /fx = (TBDATAH + 1) x 1us, TBDATAH = 14.
When T-FF = 1,
t
HIGH
= 15 us = (TBDATAL + 1) /fx = (TBDATAL + 1) x 1us, TBDATAL = 14.
t
LOW
= 24 us = (TBDATAH + 1) /fx = (TBDATAH + 1) x 1us, TBDATAH = 23.