Welcome to mirror list, hosted at ThFree Co, Russian Federation.

app.h « app « pastilda « emb - github.com/thirdpin/pastilda.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 80258e26d855f59c66d49cd3c2bfcd589bccbb11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef APP_H
#define APP_H

#include <string.h>
#include "clock.h"
#include "gpio_ext.h"
#include "systick_ext.h"
#include "leds.h"
#include "usb_dispatcher.h"
#include "spi_ext.h"

using namespace LEDS_API;
using namespace GPIO_CPP_Extension;
using namespace SPI_CPP_Extension;

namespace Application
{
	class App
	{
	public:
		App();
		void process();

	private:
		LEDS_api *_leds_api;
		USB_dispatcher *usb_dispatcher;
		SPI_ext *_spi_ext;
	};
}
#endif