BeRTOS
Data Structures | Defines | Functions
ssi_lm3s.h File Reference

LM3S1968 Synchronous Serial Interface (SSI) driver. More...

#include <cpu/power.h>
#include <io/kfile.h>
#include <io/lm3s.h>

Go to the source code of this file.

Data Structures

struct  LM3SSSI
 LM3S1968 SSI handle structure. More...

Defines

#define KFT_LM3SSSI   MAKE_ID('L', 'S', 'S', 'I')
 ID for LM3S SSI.
#define SSI_FRF_MOTO_MODE_0   0x00000000
 LM3S1968 SSI frame format.
#define SSI_FRF_MOTO_MODE_1   0x00000002
 LM3S1968 SSI frame format.
#define SSI_FRF_MOTO_MODE_2   0x00000001
 LM3S1968 SSI frame format.
#define SSI_FRF_MOTO_MODE_3   0x00000003
 LM3S1968 SSI frame format.
#define SSI_FRF_TI   0x00000010
 LM3S1968 SSI frame format.
#define SSI_FRF_NMW   0x00000020
 LM3S1968 SSI frame format.
#define SSI_MODE_MASTER   0x00000000
 LM3S1968 SSI operational mode.
#define SSI_MODE_SLAVE   0x00000001
 LM3S1968 SSI operational mode.
#define SSI_MODE_SLAVE_OD   0x00000002
 LM3S1968 SSI operational mode.

Functions

void lm3s_ssiInit (struct LM3SSSI *fds, uint32_t addr, uint32_t frame, int mode, int bitrate, uint32_t data_width)
 Initialize a LM3S SSI driver.

Detailed Description

LM3S1968 Synchronous Serial Interface (SSI) driver.

Definition in file ssi_lm3s.h.