Go to the source code of this file.
|
| _ASSERT_SIZEOF (spi_reg_sckmode, 4) |
|
| _ASSERT_SIZEOF (spi_reg_csmode, 4) |
|
| _ASSERT_SIZEOF (spi_reg_delay0, 4) |
|
| _ASSERT_SIZEOF (spi_reg_delay1, 4) |
|
| _ASSERT_SIZEOF (spi_reg_fmt, 4) |
|
| _ASSERT_SIZEOF (spi_reg_txdata, 4) |
|
| _ASSERT_SIZEOF (spi_reg_rxdata, 4) |
|
| _ASSERT_SIZEOF (spi_reg_txmark, 4) |
|
| _ASSERT_SIZEOF (spi_reg_rxmark, 4) |
|
| _ASSERT_SIZEOF (spi_reg_fctrl, 4) |
|
| _ASSERT_SIZEOF (spi_reg_ffmt, 4) |
|
| _ASSERT_SIZEOF (spi_reg_ie, 4) |
|
static unsigned int | spi_min_clk_divisor (unsigned int input_khz, unsigned int max_target_khz) |
| Get smallest clock divisor that divides input_khz to a quotient less than or equal to max_target_khz;. More...
|
|
◆ _ASSERT_SIZEOF
#define _ASSERT_SIZEOF |
( |
|
type, |
|
|
|
size |
|
) |
| |
Value:
sizeof(
type) == (size), \
#
type " must be " #size
" bytes wide")
_Static_assert(sizeof(hls_t)==HLS_SIZE, "HLS_SIZE must equal to sizeof(hls_t)")
Definition at line 7 of file spi_internal.h.
◆ FU540_SPI_CSMODE_AUTO
#define FU540_SPI_CSMODE_AUTO 0 |
◆ FU540_SPI_CSMODE_HOLD
#define FU540_SPI_CSMODE_HOLD 2 |
◆ FU540_SPI_CSMODE_OFF
#define FU540_SPI_CSMODE_OFF 3 |
◆ spi_reg_ip
◆ _ASSERT_SIZEOF() [1/12]
◆ _ASSERT_SIZEOF() [2/12]
◆ _ASSERT_SIZEOF() [3/12]
◆ _ASSERT_SIZEOF() [4/12]
◆ _ASSERT_SIZEOF() [5/12]
◆ _ASSERT_SIZEOF() [6/12]
◆ _ASSERT_SIZEOF() [7/12]
◆ _ASSERT_SIZEOF() [8/12]
◆ _ASSERT_SIZEOF() [9/12]
◆ _ASSERT_SIZEOF() [10/12]
◆ _ASSERT_SIZEOF() [11/12]
◆ _ASSERT_SIZEOF() [12/12]
◆ spi_min_clk_divisor()
Get smallest clock divisor that divides input_khz to a quotient less than or equal to max_target_khz;.
Definition at line 196 of file spi_internal.h.
Referenced by fu540_spi_setup().