Cosmo-Z Library  2.0.5
capture.h
1 /*
2  * capture.h
3  *
4  * Created on: 2017/10/10
5  * Author: user
6  */
7 
8 #ifndef SRC_CAPTURE_H_
9 #define SRC_CAPTURE_H_
10 
11 
12 #include <stdint.h> // uint32_tなどの定義
13 
14 // ユーザ非公開のAPI関数
15 #if __cplusplus
16 extern "C" {
17 #endif
18 
19 #define FLAG_CAPTURE_START (1 << 0)
20 #define FLAG_CAPTURE_AUTO (1 << 1)
21 #define FLAG_CAPTURE_RUN (1 << 2)
22 #define FLAG_CAPTURE_ERROR (1 << 3)
23 
24 int count_masked_ch(uint32_t chmask);
25 
26 #if __cplusplus
27 }
28 #endif
29 
30 #endif /* SRC_CAPTURE_H_ */