summaryrefslogtreecommitdiff
path: root/firmware/src/pcd/rc632_highlevel.h
blob: 40e80e0fdd1aed2960fd887613ada0a07be33571 (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, u_int16_t addr, u_int8_t len,
		  u_int8_t *recvbuf);

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