Microchip® Advanced Software Framework

kxtf9_driver.c File Reference
#include "avr/io.h"
#include <avr/interrupt.h>
#include "twi_master.h"
#include "kxtf9_driver.h"
#include "memorymap.h"
#include "pal.h"

Functions

void accelero_init (void)
 Initialization of acceleroShould be done before main. More...
 
void accelero_off (void)
 Disable the accelero. More...
 
void accelero_on (void)
 Enables the accelero. More...
 
void accelero_read (unsigned char address, unsigned char *addr_ptr)
 read the accelero More...
 
void accelero_write (unsigned char data, unsigned char address)
 read the accelero More...
 
 ISR (INT3_vect)
 Accelero ISR. More...
 

Variables

uint8_t acclero_int_flag
 

uint8_t acclero_int_flag

Referenced by ISR().