MAX32660 Peripheral Driver API
Peripheral Driver API for the MAX32660
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Modules
msr_decoded_track_t Struct Reference

#include <msr.h>

Data Fields

uint8_t error_code
 
uint8_t parity_errs
 
uint8_t lrc
 
uint8_t direction
 
uint8_t len
 
uint16_t speed
 
uint8_t data [MSR_MAX_DEC_LEN]
 

Detailed Description

Structure to contain result of a track decode.

Field Documentation

◆ direction

uint8_t direction

Swipe direction determined from decode.

successful LRC check. Any other value should be considered a failure.

◆ len

uint8_t len

Number or decoded characters. This does not include

◆ lrc

uint8_t lrc

LRC check value. A value of '0' indicates a