SikendeRTOS
RTOS for ARM Cortex M3+ SoCs designed and written from scratch
Timer.c File Reference

Board Switch Setup for TM4c123. More...

#include "Timer.h"
#include "tm4c123gh6pm.h"
Include dependency graph for Timer.c:

Go to the source code of this file.

Functions

void EnableInterrupts (void)
 
void DisableInterrupts (void)
 
uint32_t StartCritical (void)
 
void EndCritical (uint32_t sr)
 
void SysTick_Init (uint32_t period)
 
void Timer0A_Init (void(*task)(void), uint32_t period, uint32_t priority)
 
void Timer0B_Init (void(*task)(void), uint32_t period, uint32_t priority)
 
void Timer1A_Init (void(*task)(void), uint32_t period, uint32_t priority)
 
void Timer1B_Init (void(*task)(void), uint32_t period, uint32_t priority)
 
void Timer2A_Init (void(*task)(void), uint32_t period, uint32_t priority)
 
void Timer2B_Init (void(*task)(void), uint32_t period, uint32_t priority)
 
void Timer3A_Init (void(*task)(void), uint32_t period, uint32_t priority)
 
void Timer3B_Init (void(*task)(void), uint32_t period, uint32_t priority)
 
void Timer4A_Init (void(*task)(void), uint32_t period, uint32_t priority)
 
void Timer4B_Init (void(*task)(void), uint32_t period, uint32_t priority)
 
void Timer0A_Handler (void)
 
void Timer0B_Handler (void)
 
void Timer1A_Handler (void)
 
void Timer1B_Handler (void)
 
void Timer2A_Handler (void)
 
void Timer2B_Handler (void)
 
void Timer3A_Handler (void)
 
void Timer3B_Handler (void)
 
void Timer4A_Handler (void)
 
void Timer4B_Handler (void)
 

Variables

void(* Task0A )(void)
 
void(* Task0B )(void)
 
void(* Task1A )(void)
 
void(* Task1B )(void)
 
void(* Task2A )(void)
 
void(* Task2B )(void)
 
void(* Task3A )(void)
 
void(* Task3B )(void)
 
void(* Task4A )(void)
 
void(* Task4B )(void)
 

Detailed Description

Board Switch Setup for TM4c123.

Periodic Timer setup for TM4c123.

Author
Sijin Woo (https://github.com/SijWoo)

Definition in file Timer.c.

Function Documentation

◆ DisableInterrupts()

void DisableInterrupts ( void  )

◆ EnableInterrupts()

void EnableInterrupts ( void  )

◆ EndCritical()

void EndCritical ( uint32_t  sr)
Here is the caller graph for this function:

◆ StartCritical()

uint32_t StartCritical ( void  )
Here is the caller graph for this function:

◆ SysTick_Init()

void SysTick_Init ( uint32_t  period)

SysTick_Init Initialize Systick interrupt and values Make sure this is the second to lowest priority

Definition at line 31 of file Timer.c.

Here is the caller graph for this function:

◆ Timer0A_Handler()

void Timer0A_Handler ( void  )

Definition at line 255 of file Timer.c.

◆ Timer0A_Init()

void Timer0A_Init ( void(*)(void)  task,
uint32_t  period,
uint32_t  priority 
)

Definition at line 40 of file Timer.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Timer0B_Handler()

void Timer0B_Handler ( void  )

Definition at line 260 of file Timer.c.

◆ Timer0B_Init()

void Timer0B_Init ( void(*)(void)  task,
uint32_t  period,
uint32_t  priority 
)

Definition at line 60 of file Timer.c.

Here is the call graph for this function:

◆ Timer1A_Handler()

void Timer1A_Handler ( void  )

Definition at line 265 of file Timer.c.

◆ Timer1A_Init()

void Timer1A_Init ( void(*)(void)  task,
uint32_t  period,
uint32_t  priority 
)

Definition at line 80 of file Timer.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Timer1B_Handler()

void Timer1B_Handler ( void  )

Definition at line 270 of file Timer.c.

◆ Timer1B_Init()

void Timer1B_Init ( void(*)(void)  task,
uint32_t  period,
uint32_t  priority 
)

Definition at line 101 of file Timer.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Timer2A_Handler()

void Timer2A_Handler ( void  )

Definition at line 275 of file Timer.c.

◆ Timer2A_Init()

void Timer2A_Init ( void(*)(void)  task,
uint32_t  period,
uint32_t  priority 
)

Definition at line 122 of file Timer.c.

Here is the caller graph for this function:

◆ Timer2B_Handler()

void Timer2B_Handler ( void  )

Definition at line 280 of file Timer.c.

◆ Timer2B_Init()

void Timer2B_Init ( void(*)(void)  task,
uint32_t  period,
uint32_t  priority 
)

Definition at line 140 of file Timer.c.

Here is the caller graph for this function:

◆ Timer3A_Handler()

void Timer3A_Handler ( void  )

Definition at line 285 of file Timer.c.

◆ Timer3A_Init()

void Timer3A_Init ( void(*)(void)  task,
uint32_t  period,
uint32_t  priority 
)

Definition at line 158 of file Timer.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Timer3B_Handler()

void Timer3B_Handler ( void  )

Definition at line 290 of file Timer.c.

◆ Timer3B_Init()

void Timer3B_Init ( void(*)(void)  task,
uint32_t  period,
uint32_t  priority 
)

Definition at line 183 of file Timer.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Timer4A_Handler()

void Timer4A_Handler ( void  )

Definition at line 295 of file Timer.c.

◆ Timer4A_Init()

void Timer4A_Init ( void(*)(void)  task,
uint32_t  period,
uint32_t  priority 
)

Definition at line 204 of file Timer.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Timer4B_Handler()

void Timer4B_Handler ( void  )

Definition at line 300 of file Timer.c.

◆ Timer4B_Init()

void Timer4B_Init ( void(*)(void)  task,
uint32_t  period,
uint32_t  priority 
)

Definition at line 230 of file Timer.c.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ Task0A

void(* Task0A) (void) ( void  )

Definition at line 10 of file Timer.c.

◆ Task0B

void(* Task0B) (void) ( void  )

Definition at line 11 of file Timer.c.

◆ Task1A

void(* Task1A) (void) ( void  )

Definition at line 12 of file Timer.c.

◆ Task1B

void(* Task1B) (void) ( void  )

Definition at line 13 of file Timer.c.

◆ Task2A

void(* Task2A) (void) ( void  )

Definition at line 14 of file Timer.c.

◆ Task2B

void(* Task2B) (void) ( void  )

Definition at line 15 of file Timer.c.

◆ Task3A

void(* Task3A) (void) ( void  )

Definition at line 16 of file Timer.c.

◆ Task3B

void(* Task3B) (void) ( void  )

Definition at line 17 of file Timer.c.

◆ Task4A

void(* Task4A) (void) ( void  )

Definition at line 18 of file Timer.c.

◆ Task4B

void(* Task4B) (void) ( void  )

Definition at line 19 of file Timer.c.