inc/ADP5588_Driver.h File Reference

This graph shows which files directly or indirectly include this file:


Defines

#define SCCB_YES   1
#define SCCB_NO   0
#define FPGA_CONFIG_OE   0x01
#define CAM_PWR_DW_1V8   0x02
#define GPIO_PROG_B   0x04
#define GPIO_INIT_B   0x08
#define GPIO_DONE   0x10
#define SWITCH1   0x20
#define SWITCH2   0x40
#define EN_USB_OTG   0x80
#define LED_D66   0x100
#define NC   0x200
#define J10_GPIO0_1V8   0x400
#define TP42   0x800
#define TP38   0x1000
#define TP39   0x2000
#define TP40   0x4000
#define TP35   0x8000
#define TP36   0x10000
#define TP37   0x20000
#define ADP5588_I2C_ADDRESS   0x34

Functions

int tll6527_adp5588_init (void)
void set_io_type (unsigned char type)
void set_io_dir (int pin, unsigned char dir)
void set_pin_out (int pin)
void clear_pin_out (int pin)
int get_pin_in (int pin)
void load_bit (unsigned char mask, unsigned char val)
void get_bit (unsigned char mask)

Define Documentation

#define ADP5588_I2C_ADDRESS   0x34

#define CAM_PWR_DW_1V8   0x02

#define EN_USB_OTG   0x80

#define FPGA_CONFIG_OE   0x01

#define GPIO_DONE   0x10

#define GPIO_INIT_B   0x08

#define GPIO_PROG_B   0x04

#define J10_GPIO0_1V8   0x400

#define LED_D66   0x100

#define NC   0x200

#define SCCB_NO   0

#define SCCB_YES   1

#define SWITCH1   0x20

#define SWITCH2   0x40

#define TP35   0x8000

#define TP36   0x10000

#define TP37   0x20000

#define TP38   0x1000

#define TP39   0x2000

#define TP40   0x4000

#define TP42   0x800


Function Documentation

void clear_pin_out ( int  pin  ) 

void get_bit ( unsigned char  mask  ) 

int get_pin_in ( int  pin  ) 

void load_bit ( unsigned char  mask,
unsigned char  val 
)

void set_io_dir ( int  pin,
unsigned char  dir 
)

void set_io_type ( unsigned char  type  ) 

void set_pin_out ( int  pin  ) 

int tll6527_adp5588_init ( void   ) 


Generated on 3 Mar 2014 for PAL bare-c Library by  doxygen 1.4.7