Moved remotely
git-svn-id: file:///srv/dev-disk-by-uuid-17e88007-4d0c-45e0-8757-cacfcc458630/repositories/svn/Diplomarbeit@113 9fe90eed-be63-e94b-8204-d34ff4c2ff93
This commit is contained in:
@@ -0,0 +1,64 @@
|
||||
/* ---------------------------------------------------------------------------
|
||||
* ssp1.h - v1.0 (c) 2006 Micro-key bv
|
||||
* ---------------------------------------------------------------------------
|
||||
* Micro-key bv
|
||||
* Industrieweg 28, 9804 TG Noordhorn
|
||||
* Postbus 92, 9800 AA Zuidhorn
|
||||
* The Netherlands
|
||||
* Tel: +31 594 503020
|
||||
* Fax: +31 594 505825
|
||||
* Email: support@microkey.nl
|
||||
* Web: www.microkey.nl
|
||||
* ---------------------------------------------------------------------------
|
||||
* Description: spi1 driver interface description.
|
||||
* ---------------------------------------------------------------------------
|
||||
* Version(s): 1.0, 30-10-2006, Jos Pasop.
|
||||
* Creation.
|
||||
* ---------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#ifndef __SSP1_H__
|
||||
#define __SSP1_H__
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
* System include files.
|
||||
* ---------------------------------------------------------------------------
|
||||
*/
|
||||
#include "lpc23xx.h"
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
* Application include files.
|
||||
* ---------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
* Constant and macro definitions.
|
||||
* ---------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
* Type definitions.
|
||||
* ---------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
* Variable declarations.
|
||||
* ---------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
* Function declarations.
|
||||
* ---------------------------------------------------------------------------
|
||||
*/
|
||||
void ssp1Init (void);
|
||||
void ssp1Enable (void);
|
||||
void ssp1Disable (void);
|
||||
void ssp1TakeBus(void);
|
||||
void ssp1ReleaseBus(void);
|
||||
RESULT ssp1Write (UINT8 data);
|
||||
RESULT ssp1Read (UINT8 * pData);
|
||||
void ssp1WriteBuffer( UINT8 *buffer, UINT16 length );
|
||||
void ssp1ReadBuffer( UINT8 *buffer, UINT16 length );
|
||||
void ssp1Loopback( BOOLEAN enable );
|
||||
|
||||
#endif /* __SSP1_H__ */
|
||||
Reference in New Issue
Block a user