1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/init.h Tue Oct 16 23:26:17 2018 +0200
1.3 @@ -0,0 +1,24 @@
1.4 +#ifndef __INIT_H__
1.5 +#define __INIT_H__
1.6 +
1.7 +/* Basic initialisation. */
1.8 +
1.9 +void init_memory(void);
1.10 +void init_pins(void);
1.11 +void init_outputs(void);
1.12 +
1.13 +/* Peripheral pin configuration. */
1.14 +
1.15 +void config_uart(void);
1.16 +void lock_config(void);
1.17 +void unlock_config(void);
1.18 +
1.19 +/* Convenience operations. */
1.20 +
1.21 +void interrupts_on(void);
1.22 +
1.23 +/* Peripheral configuration. */
1.24 +
1.25 +void init_uart(uint8_t pri, uint8_t sub);
1.26 +
1.27 +#endif /* __INIT_H__ */