openpcd/firmware/src/pcd/rc632.h @ master
1 | 872a81da | (no author) | #ifndef _RC623_API_H
|
---|---|---|---|
2 | #define _RC632_API_H
|
||
3 | |||
4 | caf50003 | (no author) | #include <sys/types.h>
|
5 | dd0638d2 | (no author) | #include <cl_rc632.h>
|
6 | 9d0d7022 | (no author) | #include <librfid/rfid.h>
|
7 | 28eb4a57 | laforge | #include <librfid/rfid_asic.h>
|
8 | dd0638d2 | (no author) | |
9 | 28eb4a57 | laforge | extern int opcd_rc632_reg_write(struct rfid_asic_handle *hdl, |
10 | 373c172a | Harald Welte | uint8_t addr, uint8_t data); |
11 | 28eb4a57 | laforge | extern int opcd_rc632_fifo_write(struct rfid_asic_handle *hdl, |
12 | 373c172a | Harald Welte | uint8_t len, uint8_t *data, uint8_t flags); |
13 | 28eb4a57 | laforge | extern int opcd_rc632_reg_read(struct rfid_asic_handle *hdl, |
14 | 373c172a | Harald Welte | uint8_t addr, uint8_t *val); |
15 | 28eb4a57 | laforge | extern int opcd_rc632_fifo_read(struct rfid_asic_handle *hdl, |
16 | 373c172a | Harald Welte | uint8_t max_len, uint8_t *data); |
17 | 28eb4a57 | laforge | extern int opcd_rc632_clear_bits(struct rfid_asic_handle *hdl, |
18 | 373c172a | Harald Welte | uint8_t reg, uint8_t bits); |
19 | 28eb4a57 | laforge | extern int opcd_rc632_set_bits(struct rfid_asic_handle *hdl, |
20 | 373c172a | Harald Welte | uint8_t reg, uint8_t bits); |
21 | 41333333 | (no author) | |
22 | 872a81da | (no author) | extern void rc632_init(void); |
23 | extern void rc632_exit(void); |
||
24 | |||
25 | 7cffc967 | (no author) | extern void rc632_unthrottle(void); |
26 | |||
27 | dd0638d2 | (no author) | extern int rc632_test(struct rfid_asic_handle *hdl); |
28 | 94d184f8 | (no author) | extern int rc632_dump(void); |
29 | 2c275530 | meri | |
30 | 373c172a | Harald Welte | extern void rc632_power(uint8_t up); |
31 | 94d184f8 | (no author) | |
32 | 872a81da | (no author) | #endif
|