Add low power timer library source file for the Pearl Gecko demo.
Fix types in comments.
This commit is contained in:
@ -1,2 +0,0 @@
|
||||
copiedFilesOriginState={}
|
||||
eclipse.preferences.version=1
|
@ -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" );
|
||||
|
@ -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" );
|
||||
|
@ -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 )
|
||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user