Functions

Delay routine
[nRF24LE1 HAL]


Delay routine which accesses registers directly.

Functions

void delay_us (uint16_t us)
void delay_ms (uint16_t ms)

Function Documentation

void delay_us ( uint16_t  us )

Definition at line 37 of file hal_delay.c.

{
  do
  {
    _nop_();
    _nop_();
    _nop_();
    _nop_();
    _nop_();
  } while (--us);
}
void delay_ms ( uint16_t  ms )

Definition at line 49 of file hal_delay.c.

{
  do
  {
    delay_us(250);
    delay_us(250);
    delay_us(250);
    delay_us(250);
  } while (--ms);
}