|
7 | 7 | * $Rev: 3525 $
|
8 | 8 | * $Date: 2015-07-20 15:24:25 +0530 (Mon, 20 Jul 2015) $
|
9 | 9 | ******************************************************************************
|
10 |
| - * Copyright 2016 Semiconductor Components Industries LLC (d/b/a “ON Semiconductor”). |
| 10 | + * Copyright 2016 Semiconductor Components Industries LLC (d/b/a �ON Semiconductor�). |
11 | 11 | * All rights reserved. This software and/or documentation is licensed by ON Semiconductor
|
12 | 12 | * under limited terms and conditions. The terms and conditions pertaining to the software
|
13 | 13 | * and/or documentation are available at http://www.onsemi.com/site/pdf/ONSEMI_T&C.pdf
|
14 |
| - * (“ON Semiconductor Standard Terms and Conditions of Sale, Section 8 Software”) and |
| 14 | + * (�ON Semiconductor Standard Terms and Conditions of Sale, Section 8 Software�) and |
15 | 15 | * if applicable the software license agreement. Do not use this software and/or
|
16 | 16 | * documentation unless you have carefully read and you agree to the limited terms and
|
17 | 17 | * conditions. By using this software and/or documentation, you agree to the limited
|
@@ -148,7 +148,7 @@ void fRtcSetInterrupt(uint32_t timestamp)
|
148 | 148 | /* Wait for RTC to finish writing register - RTC operates on 32K clock as compared to 32M core*/
|
149 | 149 | while((RTCREG->STATUS.WORD & ((True << RTC_STATUS_SUB_SEC_ALARM_WRT_BIT_POS) |
|
150 | 150 | (True << RTC_STATUS_SEC_ALARM_WRT_BIT_POS) |
|
151 |
| - (True << RTC_STATUS_CONTROL_WRT_BIT_POS))) == True); |
| 151 | + (True << RTC_STATUS_CONTROL_WRT_BIT_POS)))); |
152 | 152 | }
|
153 | 153 | return;
|
154 | 154 | }
|
@@ -176,7 +176,7 @@ void fRtcClearInterrupt(void)
|
176 | 176 | (True << RTC_INT_CLR_SEC_BIT_POS));
|
177 | 177 |
|
178 | 178 | while((RTCREG->STATUS.WORD & ((True << RTC_STATUS_SUB_SEC_INT_CLR_WRT_BIT_POS) |
|
179 |
| - (True << RTC_STATUS_SEC_INT_CLR_WRT_BIT_POS))) == True); /* Wait for RTC to finish writing register - RTC operates on 32K clock as compared to 32M core*/ |
| 179 | + (True << RTC_STATUS_SEC_INT_CLR_WRT_BIT_POS)))); /* Wait for RTC to finish writing register - RTC operates on 32K clock as compared to 32M core*/ |
180 | 180 | }
|
181 | 181 |
|
182 | 182 | /* See rtc.h for details */
|
@@ -280,7 +280,7 @@ void fRtcHandler(void)
|
280 | 280 | while((RTCREG->STATUS.WORD & ((True << RTC_STATUS_SUB_SEC_ALARM_WRT_BIT_POS) |
|
281 | 281 | (True << RTC_STATUS_CONTROL_WRT_BIT_POS) |
|
282 | 282 | (True << RTC_STATUS_SUB_SEC_INT_CLR_WRT_BIT_POS) |
|
283 |
| - (True << RTC_STATUS_SEC_INT_CLR_WRT_BIT_POS))) == True); |
| 283 | + (True << RTC_STATUS_SEC_INT_CLR_WRT_BIT_POS)))); |
284 | 284 |
|
285 | 285 | lp_ticker_irq_handler();
|
286 | 286 | }
|
|
0 commit comments