summaryrefslogtreecommitdiff
path: root/firmware/src/pcd/rc632_highlevel.h
blob: 169f47adf84bf4605b00193946632f3ab1894050 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef _RC632_HIGHLEVEL_H
#define _RC632_HIGHLEVEL_H

#include <sys/types.h>
#include <librfid/rfid_asic.h>

int 
rc632_turn_on_rf(struct rfid_asic_handle *handle);

int 
rc632_turn_off_rf(struct rfid_asic_handle *handle);

int
rc632_read_eeprom(struct rfid_asic_handle *handle, uint16_t addr, uint8_t len,
		  uint8_t *recvbuf);

int rc632_get_serial(struct rfid_asic_handle *handle,
		     uint32_t *serial);
#endif /* _RC632_HIGHLEVEL_H */
personal git repositories of Harald Welte. Your mileage may vary