Rev 1 | Rev 238 | 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_wiu.c |
2 | * File Name : 91x_wiu.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 WIU software functions. |
6 | * Description : This file provides all the WIU 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 WITH |
8 | * THE PRESENT SOFTWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH |
13 | * CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. |
9 | * 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, INDIRECT |
10 | * AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT |
15 | * OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT |
11 | * OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT |
Line 111... | Line 107... | ||
111 | } |
107 | } |
112 | else |
108 | else |
113 | { |
109 | { |
114 | /* Disable the Wake-up Unit (for interrupts and wake-up from low power modes) */ |
110 | /* Disable the Wake-up Unit (for interrupts and wake-up from low power modes) */ |
Line 115... | Line 111... | ||
115 | 111 | ||
116 | WIU->CTRL &= WIU_Enable ; |
112 | WIU->CTRL &= ~WIU_Enable ; |
117 | } |
113 | } |
Line 118... | Line 114... | ||
118 | } |
114 | } |
119 | 115 | ||
Line 200... | Line 196... | ||
200 | { |
196 | { |
201 | WIU->PR = WIU_Line; |
197 | WIU->PR = WIU_Line; |
202 | } |
198 | } |
Line 203... | Line 199... | ||
203 | 199 |