summaryrefslogtreecommitdiff
path: root/Source/portable/SDCC/PIC18/port.c
diff options
context:
space:
mode:
Diffstat (limited to 'Source/portable/SDCC/PIC18/port.c')
-rw-r--r--Source/portable/SDCC/PIC18/port.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/Source/portable/SDCC/PIC18/port.c b/Source/portable/SDCC/PIC18/port.c
index 86c41127..1e363831 100644
--- a/Source/portable/SDCC/PIC18/port.c
+++ b/Source/portable/SDCC/PIC18/port.c
@@ -75,19 +75,11 @@ static void prvSetupTimerInterrupt(void);
/*
* Reload Value of timer0 when a tick occures.
- * The configuration of timer0 done in prvSetupTimerInterrupt, gives users the
- * possibility to be able to choose configTICK_RATE_HZ in the range
- * [minHz;maxHz]
- * minHz=configCPU_CLOCK_HZ/(portTIMER_FOSC_SCALE*65536) (76Hz values in FreeRTOSConfig.h)
- * maxHz=configCPU_CLOCK_HZ/portTIMER_FOSC_SCALE (5MHz with values in FreeRTOSConfig.h)
- * When MR0ReloadValue=0 (65536 increments) configTICK_RATE_HZ=76Hz (with respect to values in FreeRTOSConfig.h)
- * When MR0ReloadValue=65535 (1 increment) configTICK_RATE_HZ=5MHz (with respect to values in FreeRTOSConfig.h)
- * This implies the bellow linear relation between configTICK_RATE_HZ and TMR0ReloadValue
- * TMR0ReloadValue=65536 - configCPU_CLOCK_HZ/(portTIMER_FOSC_SCALE*configTICK_RATE_HZ)
+ * The configuration of timer0 done in prvSetupTimerInterrupt,implies the bellow relation
+ * between configTICK_RATE_HZ and TMR0ReloadValue.
*/
const unsigned portSHORT TMR0ReloadValue=(65536 - configCPU_CLOCK_HZ/(configTICK_RATE_HZ*portTIMER_FOSC_SCALE));
-
/*
* ISR placed on the high priority vector.
*/