{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

How To Interface With eZ430X Libraries

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

Info icon This 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);
Image of page 1

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

View Full Document Right 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
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern