Contiki-NG
Functions
clock.c File Reference

    Tickless clock implementation for NXP jn516x.
More...

#include <AppHardwareApi.h>
#include <PeripheralRegs.h>
#include "contiki.h"
#include "sys/clock.h"
#include "sys/etimer.h"
#include "rtimer-arch.h"
#include "dev/watchdog.h"

Go to the source code of this file.

Functions

void clock_init (void)
 Initialize the clock library. More...
 
clock_time_t clock_time (void)
 Get the current clock time. More...
 
void clock_delay_usec (uint16_t dt)
 Delay the CPU for a multiple of 0.0625 us. More...
 
void clock_delay (unsigned int dt)
 Delay the CPU for a multiple of 8 us. More...
 
void clock_wait (clock_time_t t)
 Wait for a multiple of 10 ms. More...
 
unsigned long clock_seconds (void)
 Get the current value of the platform seconds. More...
 

Detailed Description

    Tickless clock implementation for NXP jn516x.
Author
Beshr Al Nahas beshr.nosp@m.@sic.nosp@m.s.se Atis Elsts atis..nosp@m.elst.nosp@m.s@sic.nosp@m.s.se

Definition in file clock.c.