#include "Alpha16.h"
#include <stdio.h>
#include <string.h>
#include <assert.h>
Go to the source code of this file.
|  | 
| #define | MEMZERO(array)   memset((array),0,sizeof(array)) | 
|  | 
|  | 
| static uint8_t | getUint8 (const void *ptr, int offset) | 
|  | 
| static uint16_t | getUint16 (const void *ptr, int offset) | 
|  | 
| static uint32_t | getUint32 (const void *ptr, int offset) | 
|  | 
| static unsigned short | crc16 (const unsigned char *data_p, unsigned char length) | 
|  | 
|  | 
| static const int | chanmap_top [] = { 7, 15, 6, 14, 5, 13, 4, 12, 3, 11, 2, 10, 1, 9, 0, 8 } | 
|  | 
| static const int | chanmap_bot [] = { 8, 0, 9, 1, 10, 2, 11, 3, 12, 4, 13, 5, 14, 6, 15, 7 } | 
|  | 
| const double | TSCLK = 0.1 | 
|  | 
◆ MEMZERO
      
        
          | #define MEMZERO | ( |  | array | ) | memset((array),0,sizeof(array)) | 
      
 
 
◆ crc16()
  
  | 
        
          | static unsigned short crc16 | ( | const unsigned char * | data_p, |  
          |  |  | unsigned char | length |  
          |  | ) |  |  |  | static | 
 
 
◆ getUint16()
  
  | 
        
          | static uint16_t getUint16 | ( | const void * | ptr, |  
          |  |  | int | offset |  
          |  | ) |  |  |  | static | 
 
 
◆ getUint32()
  
  | 
        
          | static uint32_t getUint32 | ( | const void * | ptr, |  
          |  |  | int | offset |  
          |  | ) |  |  |  | static | 
 
 
◆ getUint8()
  
  | 
        
          | static uint8_t getUint8 | ( | const void * | ptr, |  
          |  |  | int | offset |  
          |  | ) |  |  |  | static | 
 
 
◆ chanmap_bot
  
  | 
        
          | const int chanmap_bot[] = { 8, 0, 9, 1, 10, 2, 11, 3, 12, 4, 13, 5, 14, 6, 15, 7 } |  | static | 
 
 
◆ chanmap_top
  
  | 
        
          | const int chanmap_top[] = { 7, 15, 6, 14, 5, 13, 4, 12, 3, 11, 2, 10, 1, 9, 0, 8 } |  | static | 
 
 
◆ TSCLK