PHiLIP
PHiLIP_MMM

Files

file  PHiLIP_access.c
 
file  PHiLIP_defaults.c
 
file  PHiLIP_defaults.h
 
file  PHiLIP_map.c
 
file  PHiLIP_map.h
 
file  PHiLIP_typedef.h
 

Data Structures

struct  sys_mode_t
 System mode settings. More...
 
struct  sys_status_t
 System status. More...
 
struct  i2c_mode_t
 I2C mode settings. More...
 
struct  i2c_status_t
 I2C status. More...
 
struct  spi_mode_t
 SPI mode settings. More...
 
struct  spi_status_t
 SPI status. More...
 
struct  uart_mode_t
 UART mode settings. More...
 
struct  uart_status_t
 UART status. More...
 
struct  gpio_mode_t
 IO pin mode control. More...
 
struct  basic_gpio_t
 Simplified GPIO for periph GPIO control. More...
 
struct  gpio_status_t
 IO pin status. More...
 
struct  adc_mode_t
 ADC mode settings. More...
 
struct  tmr_mode_t
 Timer mode settings. More...
 
struct  basic_mode_t
 Basic mode settings. More...
 
union  timestamp_t
 Time and date. More...
 
union  sys_t
 System settings for PHiLIP. More...
 
union  i2c_t
 System settings for the device. More...
 
union  spi_t
 Controls and provides information for the spi. More...
 
union  uart_t
 Controls and provides information for the uart. More...
 
union  adc_t
 Controls and reads the ADC. More...
 
union  pwm_t
 Controls and calculates PWM values. More...
 
union  dac_t
 Controls DAC values. More...
 
union  tmr_t
 Controls timer input capture values. More...
 
union  rtc_t
 Controls the RTC. More...
 
union  gpio_t
 Controls GPIO settings. More...
 
union  trace_t
 Saved timestamps and events. More...
 
union  map_t
 The memory map. More...
 

Macros

#define DEFAULT_SYS_DEVICE_NUM   17061
 default for sys.device_num: The philip device designator - A constant number to identify philip firmware
 
#define DEFAULT_I2C_SLAVE_ADDR_1   85
 default for i2c.slave_addr_1: Primary slave address
 
#define DEFAULT_I2C_SLAVE_ADDR_2   66
 default for i2c.slave_addr_2: Secondary slave address
 
#define DEFAULT_ADC_NUM_OF_SAMPLES   1024
 default for adc.num_of_samples: Number of sample in the sum
 
#define DEFAULT_PWM_H_TICKS   256
 default for pwm.h_ticks: Settable high time in sys clock ticks
 
#define DEFAULT_PWM_L_TICKS   256
 default for pwm.l_ticks: Settable low time in sys clock ticks
 
#define DEFAULT_DAC_LEVEL   5000
 default for dac.level: The percent/100 of output level
 
#define DEFAULT_TMR_MIN_TICK   4294967295
 default for tmr.min_tick: Minimum tick difference
 
#define IF_VERSION_MAJOR   1
 
#define IF_VERSION_MINOR   2
 
#define IF_VERSION_PATCH   0
 
#define MAP_T_NUM_OF_RECORDS   273
 

Functions

void init_defaults_map_t (map_t *init)
 Assign defaults for map_t. More...
 

Variables

const char *const PHILIP_TYPE_NAME []
 
const uint8_t PHILIP_TYPE_SIZE []
 
const char *const MAP_T_NAME []
 
const uint16_t MAP_T_OFFSET []
 
const uint8_t MAP_T_TYPE []
 
const uint16_t MAP_T_ARRAY_SIZE []
 
const uint8_t MAP_T_BIT_OFFSET []
 
const uint8_t MAP_T_BITS []
 

Detailed Description

Macro Definition Documentation

#define IF_VERSION_MAJOR   1

Major version of interface

#define IF_VERSION_MINOR   2

Minor version of interface

#define IF_VERSION_PATCH   0

Patch version of interface

#define MAP_T_NUM_OF_RECORDS   273

< type_size const array Number of records in the map

Function Documentation

void init_defaults_map_t ( map_t init)

Assign defaults for map_t.

Generated from the memory map manager version 0.0.10

Variable Documentation

const uint16_t MAP_T_ARRAY_SIZE[]

< type const array

< type_name const array

const uint8_t MAP_T_BIT_OFFSET[]

< array_size const array

const uint8_t MAP_T_BITS[]

< bit_offset const array

const char* const MAP_T_NAME[]

< type_size const array

const uint16_t MAP_T_OFFSET[]

< name const array

const uint8_t MAP_T_TYPE[]

< offset const array

const char* const PHILIP_TYPE_NAME[]

Generated from the memory map manager version 0.0.10

const uint8_t PHILIP_TYPE_SIZE[]

< type_name enum