How To Interface With eZ430X Libraries

How To Interface With eZ430X Libraries - How To Interface...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
How To Interface With eZ430X Libraries. .. eZ430X Libraries adc.h, adc.c o int ADC_init (void); o int ADC_read (int channel); adxl345.h, adxl345.c o int ADXL345_init (void); o unsigned char ADXL345_read (unsigned char regaddr, unsigned char *buf, int count); o void ADXL345_write (unsigned char regaddr, unsigned char *data, int count); eZ430X.h, eZ430X.c o int eZ430X_init (int clock); o void ERROR2 (int error); o void i2c_write (unsigned int address, unsigned char* data, int bytes); o unsigned char i2c_read (unsigned int address, unsigned char* buffer, int bytes); graphics.h, graphics.c o int FRAM_init (int size, int data); o unsigned char FRAM_read (unsigned int address); o int FRAM_write (unsigned int address, unsigned char datum); o void lcd_circle (int x0, int y0, int r0); o int lcd_FRAM_init (void); o unsigned char lcd_point (unsigned int x, unsigned int y, int flag); o int read_FRAM_point (unsigned int x, unsigned int y); o int write_FRAM_point (unsigned int x, unsigned int y, int value); lcd.h, lcd.c o void lcd_backlight (int backlight); o void lcd_blank (int column, int page, int width, int height); o void lcd_clear (int value);
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
o void lcd_cursor (int column, int page); o int lcd_display (int mode); o void lcd_image (const unsigned char* image, int column, int page); o int lcd_init (void); o
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This document was uploaded on 02/08/2012.

Page1 / 5

How To Interface With eZ430X Libraries - How To Interface...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online