osd-contiki/include/utils.h
2009-04-24 17:07:15 -04:00

8 lines
131 B
C

#ifndef UTILS_H
#define UTILS_H
#define reg32(x) (*(volatile uint32_t *)(x))
#define reg16(x) (*(volatile uint16_t *)(x))
#endif