Revision 27eae8ce

View differences:

drivers/PN532/v1/alld_PN532.c
1
/*
2
AMiRo-LLD is a compilation of low-level hardware drivers for the Autonomous Mini Robot (AMiRo) platform.
3
Copyright (C) 2016..2019  Thomas Schöpping et al.
4

  
5
This program is free software: you can redistribute it and/or modify
6
it under the terms of the GNU Lesser General Public License as published by
7
the Free Software Foundation, either version 3 of the License, or
8
(at your option) any later version.
9

  
10
This program is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
GNU Lesser General Public License for more details.
14

  
15
You should have received a copy of the GNU Lesser General Public License
16
along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
*/
18

  
19
/**
20
 * @file    alld_PN532.c
21
 *
22
 * @brief   ??
23
 *
24
 * @addtogroup ??
25
 * @{
26
 */
27

  
28
#include <alld_PN532.h>
29

  
30
/******************************************************************************/
31
/* LOCAL DEFINITIONS                                                          */
32
/******************************************************************************/
33

  
34
/******************************************************************************/
35
/* EXPORTED VARIABLES                                                         */
36
/******************************************************************************/
37

  
38
/******************************************************************************/
39
/* LOCAL TYPES                                                                */
40
/******************************************************************************/
41

  
42
/******************************************************************************/
43
/* LOCAL VARIABLES                                                            */
44
/******************************************************************************/
45

  
46
/******************************************************************************/
47
/* LOCAL FUNCTIONS                                                            */
48
/******************************************************************************/
49

  
50
/******************************************************************************/
51
/* EXPORTED FUNCTIONS                                                         */
52
/******************************************************************************/
53
//TODO functions
54

  
55
/** @} */
56

  
57

  
drivers/PN532/v1/alld_PN532.h
1
/*
2
AMiRo-LLD is a compilation of low-level hardware drivers for the Autonomous Mini Robot (AMiRo) platform.
3
Copyright (C) 2016..2019  Thomas Schöpping et al.
4

  
5
This program is free software: you can redistribute it and/or modify
6
it under the terms of the GNU Lesser General Public License as published by
7
the Free Software Foundation, either version 3 of the License, or
8
(at your option) any later version.
9

  
10
This program is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
GNU Lesser General Public License for more details.
14

  
15
You should have received a copy of the GNU Lesser General Public License
16
along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
*/
18

  
19
/**
20
 * @file    alld_PN532.h
21
 * @brief   NFC
22
 *
23
 * @addtogroup 
24
 * @{
25
 */
26

  
27
#ifndef AMIROLLD_PN532_H
28
#define AMIROLLD_PN532_H
29

  
30
#include <amiro-lld.h>
31

  
32
/******************************************************************************/
33
/* CONSTANTS                                                                  */
34
/******************************************************************************/
35

  
36
/**
37
 * @brief Maximum I2C frequency.
38
 */
39
//#define P9221R_LLD_I2C_MAXFREQUENCY   400000
40

  
41
/******************************************************************************/
42
/* SETTINGS                                                                   */
43
/******************************************************************************/
44

  
45
/******************************************************************************/
46
/* CHECKS                                                                     */
47
/******************************************************************************/
48

  
49
/******************************************************************************/
50
/* DATA STRUCTURES AND TYPES                                                  */
51
/******************************************************************************/
52

  
53
/**
54
 * @brief I2C address masks.
55
 */
56
enum {
57

  
58
};
59

  
60
/**
61
 * @brief Registers.
62
 */
63
typedef enum {
64

  
65
}PN532_lld_register_t;
66

  
67

  
68
typedef struct {
69
} PN532Driver;
70

  
71

  
72
/******************************************************************************/
73
/* MACROS                                                                     */
74
/******************************************************************************/
75

  
76
/******************************************************************************/
77
/* EXTERN DECLARATIONS                                                        */
78
/******************************************************************************/
79

  
80
#ifdef __cplusplus
81
extern "C" {
82
#endif
83
  //apalExitStatus_t p9221r_lld_read_register(const P9221RDriver* const p9221r, const p9221r_lld_register_t addr, uint8_t* const data, const uint8_t num, const apalTime_t timeout);
84
#ifdef __cplusplus
85
}
86
#endif
87

  
88
/******************************************************************************/
89
/* INLINE FUNCTIONS                                                           */
90
/******************************************************************************/
91

  
92
#endif /* AMIROLLD_PN532_H */
93

  
94
/** @} */
95

  

Also available in: Unified diff