#ifndef __PCA9865_H__
#define __PCA9865_H__
#include <stdio.h>
#include <stdint.h>
#include <string.h>

typedef struct pca9865
{
    const char* name;
    FILE*   mled[16];
}pca9865_t;

void bsp_pca9865_set_PWMLeds(pca9865_t* dev, int idx, int ratio);

int bsp_pca9865_init(pca9865_t* dev, const char* name);

void bsp_pca9865_exit(pca9865_t* dev);

#endif//__PCA9865_H__
