8051 timing counting online calculator

Category: Daily

Megahertz (mhz)
Milliseconds (mSec)
Timed task Standard 12 time period Enhanced 6 clock cycles Time
Single timer
1 / (mhz/12)

1 / (mhz/6)
uSec
8 bit timing counter
TIC12 * 256 / 1000

TIC6 * 256 / 1000
mSec
16 bit timing counter
TIC12 * 65536 / 1000

TIC6 * 65536 / 1000
mSec
8 digit recalculation value
256 - (DRT / TIC12 * 1000)

256 - (DRT / TIC6 * 1000)
mSec
16 bit recalculation value
65536 - (DRT / TIC12 * 1000)

65536 - (DRT / TIC6 * 1000)
mSec

App description

Mode 0 is the 13-bit timer counting mode, mode 1 is the 16-bit timer counting mode (which is the most common mode), mode 2 is the 8-bit automatic reloading initial value counting mode, mode 3 is only applicable to T0, and 16-bit T0 is divided into Two 8-bit timer counters.

 

    Sign in for comments!
Comment list (0)

Powered by TorCMS (https://github.com/bukun/TorCMS).