HP85 GPIB Disk Emulator  1.0
HP85GPIBDiskEmulator
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
delay.c File Reference

Extended delay routines for AVR. More...

#include "user_config.h"

Go to the source code of this file.

Functions

void delayus (uint32_t us)
 Delay microseconds using AVR acr-libc _delay_us() function. More...
 
void delayms (uint32_t ms)
 Delay miliseconds using AVR acr-libc _delay_us() function. More...
 

Detailed Description

Extended delay routines for AVR.

Edit History
  • [1.0] [Mike Gore] Initial revision of file.
Copyright © 2014-2020 Mike Gore, Inc. All rights reserved.

Definition in file delay.c.

Function Documentation

◆ delayms()

void delayms ( uint32_t  ms)

Delay miliseconds using AVR acr-libc _delay_us() function.

  • Depends on F_CPU and function _delay_us() _delay_us() has limited range - this extends it.
    Returns
    void
    See also
    _delay_us() is part of avr-libc

Definition at line 53 of file delay.c.

Referenced by dbf_open_read(), dbf_open_write(), main(), and mmc_disk_initialize().

◆ delayus()

void delayus ( uint32_t  us)

Delay microseconds using AVR acr-libc _delay_us() function.

  • Depends on F_CPU and function _delay_us() _delay_us() has limited range - this extends it.
    Returns
    void
    See also
    _delay_us() is part of avr-libc

Definition at line 26 of file delay.c.

Referenced by i2c_done(), i2c_send_stop(), and i2c_task_done().