Add low power timer library source file for the Pearl Gecko demo.

Fix types in comments.
This commit is contained in:
Richard Barry
2016-03-16 17:18:21 +00:00
parent 9f5095f6bd
commit 60537ce7cb
5 changed files with 549 additions and 7 deletions

View File

@ -1,2 +0,0 @@
copiedFilesOriginState={}
eclipse.preferences.version=1

View File

@ -220,7 +220,7 @@ TickType_t xModifiableIdleTime;
BURTC_CompareSet( 0, ( ulReloadValueForOneTick - ulCountBeforeSleep ) + ulStoppedTimerCompensation );
BURTC_Enable( true );
/* Re-enable interrupts - see comments above the cpsid instruction()
/* Re-enable interrupts - see comments above the INT_Enable() call
above. */
INT_Enable();
}
@ -259,7 +259,7 @@ TickType_t xModifiableIdleTime;
ulCountAfterSleep = BURTC_CounterGet();
BURTC_Enable( false );
/* Re-enable interrupts - see comments above the cpsid instruction()
/* Re-enable interrupts - see comments above the INT_Enable() call
above. */
INT_Enable();
__asm volatile( "dsb" );

View File

@ -244,7 +244,7 @@ TickType_t xModifiableIdleTime;
RTC_CompareSet( 0, ( ulReloadValueForOneTick - ulCountBeforeSleep ) + ulStoppedTimerCompensation );
RTC_Enable( true );
/* Re-enable interrupts - see comments above the cpsid instruction()
/* Re-enable interrupts - see comments above the INT_Enable() call
above. */
INT_Enable();
}
@ -283,7 +283,7 @@ TickType_t xModifiableIdleTime;
ulCountAfterSleep = RTC_CounterGet();
RTC_Enable( false );
/* Re-enable interrupts - see comments above the cpsid instruction()
/* Re-enable interrupts - see comments above the INT_Enable() call
above. */
INT_Enable();
__asm volatile( "dsb" );

View File

@ -98,7 +98,7 @@ extern "C" {
* See the comments at the top of main.c, main_full.c and main_low_power.c for
* more information.
*/
#define configCREATE_LOW_POWER_DEMO 0
#define configCREATE_LOW_POWER_DEMO 0
/* Some configuration is dependent on the demo being built. */
#if( configCREATE_LOW_POWER_DEMO == 0 )