Microchip® Advanced Software Framework

conf_example.h File Reference

Example configuration header file.

Copyright (c) 2012-2018 Microchip Technology Inc. and its subsidiaries.

Macros

#define EXAMPLE_TWIM   TWIM1
 TWIM Module Used. More...
 
#define EXAMPLE_TWIM_Handler   TWIM1_Handler
 TWIM Interrupt Handler. More...
 
#define EXAMPLE_TWIM_IRQn   TWIM1_IRQn
 TWIM Interrupt Number. More...
 
#define TARGET_ADDR_LGT   2
 Internal Address length. More...
 
#define TARGET_ADDRESS   0x50
 Target's TWI address. More...
 
#define TWIM_MASTER_SPEED   TWI_STD_MODE_SPEED
 Speed of TWI. More...
 
#define VIRTUALMEM_ADDR   0x0
 Internal Address. More...
 

#define EXAMPLE_TWIM   TWIM1

TWIM Module Used.

Referenced by init_test(), read_test(), and write_test().

#define EXAMPLE_TWIM_Handler   TWIM1_Handler

TWIM Interrupt Handler.

#define EXAMPLE_TWIM_IRQn   TWIM1_IRQn

TWIM Interrupt Number.

#define TARGET_ADDR_LGT   2

Internal Address length.

Referenced by read_test(), and write_test().

#define TARGET_ADDRESS   0x50

Target's TWI address.

Referenced by read_test(), and write_test().

#define TWIM_MASTER_SPEED   TWI_STD_MODE_SPEED

Speed of TWI.

Referenced by init_test().

#define VIRTUALMEM_ADDR   0x0

Internal Address.

Referenced by read_test(), and write_test().