• SMBus and LTC1380 MUX State Machine Design Problem
    I am having problems with this state machine on setting up an LTC1380 Mux Device. It is really hard to track progress of this state machine without disrupting the bus for logging or stepping through...
  • Designated initialiser of struct element in C51
    Why designated initialisation not working in C51? How to initialise structure lement? struct fixed { unsigned char a; unsigned char b; }; code struct fixed flash = {.a=0x2, .b=0x3}; Above...
  • machine cycle
    Hello all, the way we calculate 1 machine cycle period in 8051 clock = 12MHz then 1m/c = 1/ (12MHz / 12) = 1 usec In case of ARM7, I have peripheral clock for timer = 12Mhz (after doing all...
  • Finate State Machine
    Hai All, I am Implementing finate state machine and approach is as follows: enum FSM_GATE_STATES { GateOpen=0, GateClose ... ... }; struct FSM_Gate { enum FSM_GATE_STATES ActiveState; }; struct...
  • Number of machine cycles
    How many machine cycles does the following instructions take. Please provide the reason. MOV TMOD, #01 MOV TL0, #0F2h MOV TH0, #0F2h CPL P1.5