MAX32675 Peripheral Driver API
Peripheral Driver API for the MAX32675
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
 
uint8_t data [MSR_MAX_DEC_LEN]
 

Detailed Description

Structure to contain result of a track decode.

Field Documentation

◆ data

uint8_t data[MSR_MAX_DEC_LEN]

The decoded data

◆ direction

uint8_t direction

Swipe direction determined from decode

◆ error_code

uint8_t error_code

Error code value

◆ len

uint8_t len

Number or decoded characters. This does not include the sentinels or the LRC.

◆ lrc

uint8_t lrc

LRC check value. A value of '0' indicates a successful LRC check. Any other value should be considered a failure.

◆ parity_errs

uint8_t parity_errs

Number of characters with parity errors