CMP EMBEDDED.COM

Login | Register     Welcome Guest IPS  Call for Abstracts
 

Listing 1: ow_delay()

void ow_delay(int usecs) {
timerx_ctl = COUNTER_HOLD;
timerx_cnt = usecs * CSCALEN/CSCALED;
timerx_ctl = COUNTER_DOWN_RUN;
while (timerx_cnt !=0);
;
Embedded.com Career Center
Ready to take that job and shove it?
SEARCH JOBS

Browse all jobs

SPONSOR
RECENT JOB POSTINGS
For more great jobs, career related news, features and services, please visit EETimes Career Center




 :