Rev 1 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1 | Rev 196 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | /******************** (C) COPYRIGHT 2006 STMicroelectronics ******************** |
1 | /******************** (C) COPYRIGHT 2008 STMicroelectronics ******************** |
2 | * File Name : 91x_ssp.c |
2 | * File Name : 91x_ssp.c |
3 | * Author : MCD Application Team |
3 | * Author : MCD Application Team |
- | 4 | * Version : V2.1 |
|
4 | * Date First Issued : 05/18/2006 : Version 1.0 |
5 | * Date : 12/22/2008 |
5 | * Description : This file provides all the SSP software functions. |
6 | * Description : This file provides all the SSP firmware functions. |
6 | ******************************************************************************** |
- | |
7 | * History: |
- | |
8 | * 05/22/2007 : Version 1.2 |
- | |
9 | * 05/24/2006 : Version 1.1 |
- | |
10 | * 05/18/2006 : Version 1.0 |
- | |
11 | ******************************************************************************** |
7 | ******************************************************************************** |
12 | * THE PRESENT SOFTWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS |
8 | * THE PRESENT SOFTWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS |
13 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. |
9 | * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. |
14 | * AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, |
10 | * AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, |
15 | * INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE |
11 | * INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE |
Line 76... | Line 72... | ||
76 | } |
72 | } |
77 | } |
73 | } |
Line 78... | Line 74... | ||
78 | 74 | ||
79 | /******************************************************************************* |
75 | /******************************************************************************* |
80 | * Function Name : SSP_Init |
76 | * Function Name : SSP_Init |
81 | * Description : Initializes the SSPx peripheral accordingto the specified |
77 | * Description : Initializes the SSPx peripheral according to the specified |
82 | * parameters in the SSP_InitTypeDef structure. |
78 | * parameters in the SSP_InitTypeDef structure. |
83 | * Input : - SSPx: where x can be 0 or 1 to select the SSP peripheral. |
79 | * Input : - SSPx: where x can be 0 or 1 to select the SSP peripheral. |
84 | * - SSP_InitStruct: pointer to a SSP_InitTypeDef structure that |
80 | * - SSP_InitStruct: pointer to a SSP_InitTypeDef structure that |
85 | * contains the configuration information for the specified SSP |
81 | * contains the configuration information for the specified SSP |
Line 464... | Line 460... | ||
464 | { |
460 | { |
465 | /* Clear the selected SSP interrupts pending bits */ |
461 | /* Clear the selected SSP interrupts pending bits */ |
466 | SSPx->ICR = SSP_IT; |
462 | SSPx->ICR = SSP_IT; |
467 | } |
463 | } |
Line 468... | Line 464... | ||
468 | 464 |