Initial commit: TXW82x FPV v2.7.0.7-42229 SDK + project sources
This commit is contained in:
18
sdk/include/dev/of/hgof.h
Normal file
18
sdk/include/dev/of/hgof.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef HG_OF_H
|
||||
#define HG_OF_H
|
||||
#include "tx_platform.h"
|
||||
#include "list.h"
|
||||
#include "dev.h"
|
||||
#include "hal/of.h"
|
||||
|
||||
|
||||
struct hgof {
|
||||
struct of_device dev;
|
||||
uint32 hw;
|
||||
uint32 irq_data;
|
||||
uint32 irq_num;
|
||||
uint32 opened:1, use_dma:1;
|
||||
};
|
||||
|
||||
void hgof_attach(uint32 dev_id, struct hgof *of);
|
||||
#endif
|
||||
Reference in New Issue
Block a user