mirror of
https://github.com/adulau/aha.git
synced 2024-12-30 20:56:23 +00:00
1cad1de1b2
Signed-off-by: Christian Pellegrin <chripell@fsfe.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
18 lines
287 B
C
18 lines
287 B
C
#ifndef _L3_H_
|
|
#define _L3_H_ 1
|
|
|
|
struct l3_pins {
|
|
void (*setdat)(int);
|
|
void (*setclk)(int);
|
|
void (*setmode)(int);
|
|
int data_hold;
|
|
int data_setup;
|
|
int clock_high;
|
|
int mode_hold;
|
|
int mode;
|
|
int mode_setup;
|
|
};
|
|
|
|
int l3_write(struct l3_pins *adap, u8 addr, u8 *data, int len);
|
|
|
|
#endif
|