HT32SX Monarch Scan
Monarch Scan application for HT32SX
main.c File Reference

: Main program body More...

#include "main.h"
#include "dma.h"
#include "rtc.h"
#include "spi.h"
#include "tim.h"
#include "usart.h"
#include "gpio.h"
#include "monarch_app.h"

Functions

void SystemClock_Config (void)
 System Clock Configuration. More...
 
int main (void)
 The application entry point. More...
 
void mcuConfig (void)
 
void ST_Init (void)
 Configure the MCU peripherals needed for the transceiver operation. More...
 
void Error_Handler (void)
 This function is executed in case of error occurrence. More...
 

Variables

TIM_HandleTypeDef Tim6_Handler ={.Instance=TIM6}
 

Detailed Description

: Main program body

Attention

© Copyright (c) 2019 STMicroelectronics. All rights reserved.

This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause

Function Documentation

◆ Error_Handler()

void Error_Handler ( void  )

This function is executed in case of error occurrence.

Return values
None

◆ main()

int main ( void  )

The application entry point.

Return values
int

◆ ST_Init()

void ST_Init ( void  )

Configure the MCU peripherals needed for the transceiver operation.


Parameters
[in]none
[out]none

◆ 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