This is a example application for StarBoard Orange designed by @logic_star. This example can be drive a CHORO Q HYBRID.

Dependencies:   mbed

Committer:
shintamainjp
Date:
Mon Sep 20 02:09:54 2010 +0000
Revision:
1:03c8bc666945

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
shintamainjp 1:03c8bc666945 1 #ifndef _APPCONF_H_
shintamainjp 1:03c8bc666945 2 #define _APPCONF_H_
shintamainjp 1:03c8bc666945 3
shintamainjp 1:03c8bc666945 4 #include "ChoroQ.h"
shintamainjp 1:03c8bc666945 5
shintamainjp 1:03c8bc666945 6 typedef struct {
shintamainjp 1:03c8bc666945 7 ChoroQ::Channel channel;
shintamainjp 1:03c8bc666945 8 } appconf_t;
shintamainjp 1:03c8bc666945 9
shintamainjp 1:03c8bc666945 10 /**
shintamainjp 1:03c8bc666945 11 * Initialize a configuration.
shintamainjp 1:03c8bc666945 12 *
shintamainjp 1:03c8bc666945 13 * @param p A pointer to a configuration structure.
shintamainjp 1:03c8bc666945 14 */
shintamainjp 1:03c8bc666945 15 void appconf_init(appconf_t *p);
shintamainjp 1:03c8bc666945 16
shintamainjp 1:03c8bc666945 17 /**
shintamainjp 1:03c8bc666945 18 * Read a configuration.
shintamainjp 1:03c8bc666945 19 *
shintamainjp 1:03c8bc666945 20 * @param p A pointer to a configuration structure.
shintamainjp 1:03c8bc666945 21 *
shintamainjp 1:03c8bc666945 22 * @return Return 0 if read succeed.
shintamainjp 1:03c8bc666945 23 */
shintamainjp 1:03c8bc666945 24 int appconf_read(appconf_t *p);
shintamainjp 1:03c8bc666945 25
shintamainjp 1:03c8bc666945 26 #endif