SRTOS
Loading...
Searching...
No Matches
config.c File Reference

System configuration functions for SRTOS. More...

#include "config.h"
Include dependency graph for config.c:

Go to the source code of this file.

Functions

void configureAll ()
 This function will be called in the main() function of the user's code before the scheulder is started. It will call every configuration function defined in config.c.

Detailed Description

System configuration functions for SRTOS.

Provides hardware and peripheral initialization functions called before the scheduler starts. Users may extend this file to include custom configuration code that can be called from configureAll().

Definition in file config.c.

Function Documentation

◆ configureAll()

void configureAll ( )

This function will be called in the main() function of the user's code before the scheulder is started. It will call every configuration function defined in config.c.

Note
SRTOS is designed with configuration in mind, so users are able to create configuration functions in config.c, and call them in this function. Users can add and delete functions calls from this function as needed.

Definition at line 111 of file config.c.

112{
113 configureClock ();
114 configureSystickInterrupts ();
115 configureBlueLED ();
116 configureGreenLED ();
117 configureOrangeLED ();
118 configureInterruptPriorities ();
119}
Here is the caller graph for this function: