Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
bspi.c
Package: str711USB.rar [view]
Upload User: yyyd609
Upload Date: 2022-07-18
Package Size: 183k
Code Size: 6k
Category:
ARM-PowerPC-ColdFire-MIPS
Development Platform:
C/C++
- /******************** (C) COPYRIGHT 2003 STMicroelectronics ********************
- * File Name : bspi.c
- * Author : MCD Application Team
- * Date First Issued : 05/16/2003
- * Description : This file provides all the BSPI software functions
- ********************************************************************************
- * History:
- * 01/01/2004 : V1.2
- * 14/07/2004 : V1.3
- *******************************************************************************/
- #include "bspi.h"
- /*******************************************************************************
- * Function Name : BSPI_Init
- * Description : Initializes BSPI peripheral control and registers to their default reset values.
- * Input : BSPIx where x can be 0 or 1 to select the BSPI peripheral.
- * Output : BSPI peripheral registers and BSPI global variables are initialized.
- * Return : None.
- *******************************************************************************/
- void BSPI_Init(BSPI_TypeDef *BSPIx)
- {
- BSPIx->CSR2 = 0x41;
- BSPIx->CSR1 = 0x00;
- BSPIx->CLK = 0x06;
- }
- /*******************************************************************************
- * Function Name : BSPI_TrItSrc.
- * Description : Configures the transmit interrupt source.
- * Input 1 : BSPIx where x can be 0 or 1 to select the BSPI peripheral.
- * Input 2 : TrItSrc: specifies the transmit interrupt source.
- * : Refer to the section 慣ransmit Interrupt Sources