PHiLIP
map_if.c File Reference

Handles memory map specific interface functions. More...

#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include "PHiLIP_typedef.h"
#include "PHiLIP_map.h"
#include "app_reg.h"
#include "map_if.h"

Macros

#define T_SIZE(x)   (PHILIP_TYPE_SIZE[MAP_T_TYPE[x]])
 Macro for getting the type size from the map.
 

Functions

error_t get_mm (uint16_t index, char *str)
 Gets parameters of a record in the memory map. More...
 
error_t get_mm_val (char *mm_name, uint32_t array_index, uint32_t *data)
 Gets the value of a record in the memory map. More...
 
error_t set_mm_val (char *mm_name, uint32_t array_index, uint32_t data, uint8_t access)
 Sets the value of a record in the memory map. More...
 

Detailed Description

Handles memory map specific interface functions.

Author
Kevin Weiss
Date
05.03.2019

Getting and setting of memory maps by name.