NanoPayload

Annotated stage2/init.h

197:2f6e7237dbb5
2016-05-14 Paul Boddie Added missing support for the MiniPC (untested at present), and moved common functions into the common board support file.
paul@154 1
#ifndef __INIT_H__
paul@154 2
#define __INIT_H__
paul@16 3
paul@196 4
#include "xburst_types.h"
paul@196 5
paul@16 6
/* Initialisation functions. */
paul@16 7
paul@195 8
void gpio_init2();
paul@195 9
void cpm_init();
paul@195 10
void rtc_init();
paul@196 11
paul@196 12
/* Timer. */
paul@196 13
paul@195 14
void timer_init();
paul@195 15
void timer_init_irq();
paul@195 16
void timer_clear();
paul@196 17
paul@196 18
/* GPIO. */
paul@196 19
paul@196 20
void gpio_init_irq();
paul@196 21
int gpio_have_irq(u8);
paul@196 22
void gpio_clear(u8);
paul@196 23
paul@196 24
/* General. */
paul@197 25
paul@196 26
void irq_clear();
paul@196 27
paul@196 28
/* Test for initialisation. */
paul@196 29
paul@195 30
int is_started();
paul@16 31
paul@154 32
#endif /* __INIT_H__ */