Project

General

Profile

Howto

osmocombb nuttx Comments
printd printf?
readw getreg16
writew putreg16
void irq_register_handler(enum irq_nr nr, irq_handler *handler) int irq_attach(int irq, xcpt_t isr) typedef int (*xcpt_t)(int irq, FAR void *context);
irq_enable up_enable_irq
void delay_ms(unsigned int ms); usleep(useconds_t usec) 1ms = 1000 usec
void irq_config(enum irq_nr nr, int fiq, int edge, int8_t prio) int up_prioritize_irq(int nr, int prio) and int up_prioritize_fiq(int nr, int prio) not a perfect match, up_prioritize_fiq not pushed yet
local_irqsave(flags) irqstate_t flags = irqsave()
local_irqrestore(flags) irqrestore(irqstate_t flags)