You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

18 lines
288 B

#ifndef LMK_H_
#define LMK_H_
#include "sc18.h"
typedef struct {
unsigned int reg;
unsigned int val;
}reg_cfg_t;
void lmk_reset(void);
int lmk_init(int cs);
int lmk_write(int cs, unsigned int addr, unsigned int val);
unsigned int lmk_read(int cs, unsigned int addr);
#endif