Go to the documentation of this file.
32 #define Am9513_8BITBUS xxx
34 #define Am9513_16BITBUS xxx
36 #define Am9513_output_control(a) xxx
37 #define Am9513_input_status() xxx
38 #define Am9513_output_data(a) xxx
39 #define Am9513_input_data() xxx
49 #define Am9513_write_register(reg, val) \
51 Am9513_output_control(reg); \
52 Am9513_output_data(val>>8); \
53 Am9513_output_data(val&0xff); \
56 #define Am9513_read_register(reg, val) \
58 Am9513_output_control(reg); \
59 val = Am9513_input_data()<<8; \
60 val |= Am9513_input_data(); \
65 #define Am9513_write_register(reg, val) \
67 Am9513_output_control(reg); \
68 Am9513_output_data(val); \
71 #define Am9513_read_register(reg, val) \
73 Am9513_output_control(reg); \
74 val = Am9513_input_data(); \