OpenCores
URL https://opencores.org/ocsvn/neorv32/neorv32/trunk

Subversion Repositories neorv32

[/] [neorv32/] [trunk/] [sw/] [lib/] [include/] [neorv32_spi.h] - Diff between revs 23 and 36

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 23 Rev 36
Line 44... Line 44...
#ifndef neorv32_spi_h
#ifndef neorv32_spi_h
#define neorv32_spi_h
#define neorv32_spi_h
 
 
// prototypes
// prototypes
int neorv32_spi_available(void);
int neorv32_spi_available(void);
void neorv32_spi_setup(uint8_t prsc, uint8_t clk_polarity, uint8_t dir, uint8_t data_size, uint8_t irq_en);
void neorv32_spi_setup(uint8_t prsc, uint8_t clk_polarity, uint8_t data_size, uint8_t irq_en);
void neorv32_spi_disable(void);
void neorv32_spi_disable(void);
void neorv32_spi_cs_en(uint8_t cs);
void neorv32_spi_cs_en(uint8_t cs);
void neorv32_spi_cs_dis(uint8_t cs);
void neorv32_spi_cs_dis(uint8_t cs);
uint32_t neorv32_spi_trans(uint32_t tx_data);
uint32_t neorv32_spi_trans(uint32_t tx_data);
int neorv32_spi_busy(void);
int neorv32_spi_busy(void);

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.