Functions | Variables
hcl_spi_rpi.c File Reference
#include <stdint.h>
#include <stdio.h>
#include <unistd.h>
#include <wiringPiSPI.h>
#include "hcl.h"
#include "hcl_spi.h"
#include "sensor_epsonCommon.h"
Include dependency graph for hcl_spi_rpi.c:

Go to the source code of this file.

Functions

int deviceOk (void)
 
int spiInit (uint8_t mode, uint32_t khzspeed)
 
int spiRelease (void)
 
uint8_t spiTransfer (uint8_t value)
 

Variables

static int mySpiFd
 

Function Documentation

◆ deviceOk()

int deviceOk ( void  )

Definition at line 93 of file hcl_spi_rpi.c.

◆ spiInit()

int spiInit ( uint8_t  mode,
uint32_t  khzspeed 
)

Definition at line 45 of file hcl_spi_rpi.c.

◆ spiRelease()

int spiRelease ( void  )

Definition at line 67 of file hcl_spi_rpi.c.

◆ spiTransfer()

uint8_t spiTransfer ( uint8_t  value)

Definition at line 80 of file hcl_spi_rpi.c.

Variable Documentation

◆ mySpiFd

int mySpiFd
static

Definition at line 29 of file hcl_spi_rpi.c.



ess_imu_driver
Author(s):
autogenerated on Wed Dec 11 2024 03:06:30