Serial Wombat 4A and 4B Firmware
Macros | Functions | Variables
deviceSpecific.h File Reference
#include <xc.h>
#include "mcc_generated_files/mcc.h"
#include "pinDigitalHwSpecific.h"

Go to the source code of this file.

Macros

#define JOIN3(_a, _b, _c)   JOIN(_a,JOIN(_b,_c))
 
#define JOIN(_a, _b)   JOIN_AGAIN(_a,_b)
 
#define JOIN_AGAIN(_a, _b)   _a ## _b
 
#define NUMBER_OF_PHYSICAL_PINS   4
 
#define NUMBER_OF_VIRTUAL_PINS   0
 
#define NUMBER_OF_TOTAL_PINS   (NUMBER_OF_PHYSICAL_PINS + NUMBER_OF_VIRTUAL_PINS)
 
#define SERIAL_WOMBAT_HARDWARE_IDENTIFIER   'B'
 
#define SERIAL_WOMBAT_HARDWARE_IDENTIFIER   'A'
 
#define ADC_MAX_COUNTS   0xFFC0
 
#define SIZE_OF_USER_BUFFER   0
 
#define IOC_BUFFER_SIZE   8
 
#define error(_a)   {Txbuffer[0] = 'E'; Txbuffer[1] = 'X';}
 

Functions

void SetLowMaskCurrentPin ()
 

Variables

volatile uint8_t CCP1SetLowMask
 

Macro Definition Documentation

◆ ADC_MAX_COUNTS

#define ADC_MAX_COUNTS   0xFFC0

◆ error

#define error (   _a)    {Txbuffer[0] = 'E'; Txbuffer[1] = 'X';}

◆ IOC_BUFFER_SIZE

#define IOC_BUFFER_SIZE   8

◆ JOIN

#define JOIN (   _a,
  _b 
)    JOIN_AGAIN(_a,_b)

◆ JOIN3

#define JOIN3 (   _a,
  _b,
  _c 
)    JOIN(_a,JOIN(_b,_c))

◆ JOIN_AGAIN

#define JOIN_AGAIN (   _a,
  _b 
)    _a ## _b

◆ NUMBER_OF_PHYSICAL_PINS

#define NUMBER_OF_PHYSICAL_PINS   4

◆ NUMBER_OF_TOTAL_PINS

#define NUMBER_OF_TOTAL_PINS   (NUMBER_OF_PHYSICAL_PINS + NUMBER_OF_VIRTUAL_PINS)

◆ NUMBER_OF_VIRTUAL_PINS

#define NUMBER_OF_VIRTUAL_PINS   0

◆ SERIAL_WOMBAT_HARDWARE_IDENTIFIER [1/2]

#define SERIAL_WOMBAT_HARDWARE_IDENTIFIER   'B'

◆ SERIAL_WOMBAT_HARDWARE_IDENTIFIER [2/2]

#define SERIAL_WOMBAT_HARDWARE_IDENTIFIER   'A'

◆ SIZE_OF_USER_BUFFER

#define SIZE_OF_USER_BUFFER   0

Function Documentation

◆ SetLowMaskCurrentPin()

void SetLowMaskCurrentPin ( )

Variable Documentation

◆ CCP1SetLowMask

volatile uint8_t CCP1SetLowMask