title: How deal with minimum timings when programming a device?
body: <p>I am really new to embedded programming, but I've been given a task to write some C code to program a device that I can send commands to (16-bit words). On the specifications sheet that was given to me, theres a section with certain "minimum timings" the device has, such as 'Enable to First Clock Setup Time = 150ns'. There are other timings such as 'Clock width=50ns' etc.</p>
  
  <p>The device has three major pins, EN, CLK, and DATA. The device is initially disabled, and I'm thinking of using state machines to go about sending the command, but I'm confused about the minimum timings.</p>
  
  <p>So my questions are:</p>
  
  <p>-How do I incorporate/compensate for the specified minimum timings listed on the sheet.</p>
  
  <p>-How can I simulate a delay in C?</p>