PHiLIP
sys.c File Reference

System control and management. More...

#include <errno.h>
#include <stdint.h>
#include <string.h>
#include "stm32f1xx_hal.h"
#include "build_defs.h"
#include "PHiLIP_typedef.h"
#include "PHiLIP_map.h"
#include "app_common.h"
#include "app_defaults.h"
#include "port.h"
#include "sys.h"

Functions

void init_sys (map_t *reg)
 Initializes system registers. More...
 
error_t commit_sys ()
 Commits the system registers and executes operations. More...
 
void update_tick ()
 Updates the tick count to the app reg. More...
 

Detailed Description

System control and management.

Author
Kevin Weiss
Date
13.02.2019

Deals with build times, serial numbers, ticks, etc.