BOOTLOADER
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions | Variables
spi0.c File Reference
#include "includes.h"

Go to the source code of this file.

Macros

#define Spi0IdleState   0

Functions

void F_Spi0Init (void)
void F_Spi0Svc (void)
INT8U F_Spi0InUseCheck (void)
INT8U F_Spi0Allocate (INT16U UserId)
INT8U F_Spi0Release (INT16U UserId)
INT8U F_Spi0SpconSet (INT16U UserId, INT8U SpconValue)
INT8U F_Spi0SpstaGet (INT16U UserId, INT8U *pSpstaValue)
INT8U F_Spi0SppinSet (INT16U UserId, INT8U SppinValue)
INT8U F_Spi0SppreSet (INT16U UserId, INT8U SppreValue)
INT8U F_Spi0SptdatSet (INT16U UserId, INT8U SptdatValue)
INT8U F_Spi0SprdatGet (INT16U UserId, INT8U *pSprdatValue)
INT8U F_Spi0IsrHookFunctionSet (INT16U UserId, INT32U Function)

Variables

SPI0_CONTROL Spi0Ctrl

Macro Definition Documentation

#define Spi0IdleState   0

Definition at line 11 of file spi0.c.


Function Documentation

INT8U F_Spi0Allocate ( INT16U  UserId)

Definition at line 53 of file spi0.c.

void F_Spi0Init ( void  )

Definition at line 28 of file spi0.c.

INT8U F_Spi0InUseCheck ( void  )

Definition at line 49 of file spi0.c.

INT8U F_Spi0IsrHookFunctionSet ( INT16U  UserId,
INT32U  Function 
)

Definition at line 111 of file spi0.c.

INT8U F_Spi0Release ( INT16U  UserId)

Definition at line 61 of file spi0.c.

INT8U F_Spi0SpconSet ( INT16U  UserId,
INT8U  SpconValue 
)

Definition at line 69 of file spi0.c.

INT8U F_Spi0SppinSet ( INT16U  UserId,
INT8U  SppinValue 
)

Definition at line 83 of file spi0.c.

INT8U F_Spi0SppreSet ( INT16U  UserId,
INT8U  SppreValue 
)

Definition at line 90 of file spi0.c.

INT8U F_Spi0SprdatGet ( INT16U  UserId,
INT8U pSprdatValue 
)

Definition at line 104 of file spi0.c.

INT8U F_Spi0SpstaGet ( INT16U  UserId,
INT8U pSpstaValue 
)

Definition at line 76 of file spi0.c.

INT8U F_Spi0SptdatSet ( INT16U  UserId,
INT8U  SptdatValue 
)

Definition at line 97 of file spi0.c.

void F_Spi0Svc ( void  )

Definition at line 48 of file spi0.c.


Variable Documentation

SPI0_CONTROL Spi0Ctrl

Definition at line 13 of file spi0.c.