1 /*
2  *    Copyright (C) 2013 SAMSUNG S.LSI
3  *
4  *   Licensed under the Apache License, Version 2.0 (the "License");
5  *   you may not use this file except in compliance with the License.
6  *   You may obtain a copy of the License at:
7  *
8  *   http://www.apache.org/licenses/LICENSE-2.0
9  *
10  *   Unless required by applicable law or agreed to in writing, software
11  *   distributed under the License is distributed on an "AS IS" BASIS,
12  *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  *   See the License for the specific language governing permissions and
14  *   limitations under the License.
15  *
16  *
17  */
18 
19 #include "hal.h"
20 #include "osi.h"
21 
22 int device_init(int data_trace);
23 void device_deinit(void);
24 int device_open();
25 void device_close(void);
26 int device_set_mode(eNFC_DEV_MODE mode);
27 int device_sleep(void);
28 int device_wakeup(void);
29 int device_write(uint8_t* data, size_t len);
30 int device_read(uint8_t* buffer, size_t len);
31 void data_trace(const char* head, int len, uint8_t* p_data);
32