??? 04/27/04 10:15 Read: times |
#69291 - RE: set TMOD in timers Responding to: ???'s previous message |
hi,
TMOD is not bit addressable. By other words, it is not possible to use SETB/CLR commands to set/reset bits of this register. So there is another method used: for example, to set 7th bit of TMOD we use orl TMOD,#10000000b and to reset it: anl TMOD,#01111111b As you see there is nothing magic with these commands, it is just a appropriate way. Regards, Oleg |
Topic | Author | Date |
set TMOD in timers | 01/01/70 00:00 | |
RE: set TMOD in timers | 01/01/70 00:00 | |
RE: set TMOD in timers | 01/01/70 00:00 | |
RE: set TMOD in timers | 01/01/70 00:00 | |
RE: set TMOD in timers | 01/01/70 00:00 | |
RE: set TMOD in timers | 01/01/70 00:00 | |
RE: set TMOD in timers | 01/01/70 00:00 | |
RE: set TMOD in timers | 01/01/70 00:00 | |
RE: set TMOD in timers | 01/01/70 00:00 | |
RE: set TMOD in timers | 01/01/70 00:00 | |
RE: set TMOD in timers | 01/01/70 00:00 | |
RE: set TMOD in timers | 01/01/70 00:00 | |
RE: set TMOD in timers | 01/01/70 00:00 | |
it grew REALLY useful for Cygnal F12x![]() | 01/01/70 00:00 | |
RE: set TMOD in timers | 01/01/70 00:00 |