Khangai Robot Play - Naive  01
THe naive play of the Khangai Robot
main.cpp File Reference
#include "main.h"
#include "cmsis_os.h"
#include "adc.h"
#include "dma.h"
#include "i2c.h"
#include "tim.h"
#include "usart.h"
#include "usb_device.h"
#include "gpio.h"
Include dependency graph for main.cpp:

Functions

void SystemClock_Config (void)
 System Clock Configuration. More...
 
void MX_FREERTOS_Init (void)
 FreeRTOS initialization. More...
 
int main (void)
 The application entry point. More...
 
void HAL_TIM_PeriodElapsedCallback (TIM_HandleTypeDef *htim)
 Period elapsed callback in non blocking mode. More...
 
void Error_Handler (void)
 This function is executed in case of error occurrence. More...
 
void _Error_Handler (const char *file, size_t line)
 

Function Documentation

◆ _Error_Handler()

void _Error_Handler ( const char *  file,
size_t  line 
)

◆ Error_Handler()

void Error_Handler ( void  )

This function is executed in case of error occurrence.

Return values
None
Here is the call graph for this function:

◆ HAL_TIM_PeriodElapsedCallback()

void HAL_TIM_PeriodElapsedCallback ( TIM_HandleTypeDef *  htim)

Period elapsed callback in non blocking mode.

Note
This function is called when TIM5 interrupt took place, inside HAL_TIM_IRQHandler(). It makes a direct call to HAL_IncTick() to increment a global variable "uwTick" used as application time base.
Parameters
htim: TIM handle
Return values
None

◆ main()

int main ( void  )

The application entry point.

Return values
int
Here is the call graph for this function:

◆ MX_FREERTOS_Init()

void MX_FREERTOS_Init ( void  )

FreeRTOS initialization.

Parameters
None
Return values
None
Here is the call graph for this function:

◆ SystemClock_Config()

void SystemClock_Config ( void  )

System Clock Configuration.

Return values
None

Configure the main internal regulator output voltage

Initializes the CPU, AHB and APB busses clocks

Initializes the CPU, AHB and APB busses clocks

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