aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/IFS/ifs.c
blob: 347808d5e3356f8e204b23d3708abaf6f3ced253 (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
31
/*
 * ifs.c
 *
 *  Created on: Jul 8, 2019
 *      Author: shlomo
 */
#include "PMR/Diagnostics/CartridgeSlot.pb-c.h"
#include "PMR/Diagnostics/CartridgeTagContent.pb-c.h"
#include "RfidTagContent.h"
#include <Drivers/I2C_Communication/RFID_NFC/RFIDTagInfo.h>

#include <DataDef.h>
#include "include.h"

RfidTagContent TagContent[MAX_CARTRIDGES];
NFC_Tag NFCTag[MAX_CARTRIDGES];
void TagInitialize(RfidTagContent* TagContent);

void IFS_Init(void)
{
    int i;
    for (i=0;i<MAX_CARTRIDGES;i++)
    {
        TagInitialize(&TagContent[i]);
        memset(NFCTag[i].Buf,0,sizeof(NFCTag[i]));
    }
}
void TagInitialize(RfidTagContent* TagContent)
{

}