image/svg+xml
Brteve's API for EveApps
Version 0.0.1
The reference document for common folder of EveApps project.
 
Loading...
Searching...
No Matches
ChannelConfig_t Struct Reference

#include <libMPSSE_spi.h>

Data Fields

uint32 ClockRate
 
uint8 LatencyTimer
 
uint32 configOptions
 
uint32 Pin
 
uint16 reserved
 

Detailed Description

Definition at line 118 of file libMPSSE_spi.h.

Field Documentation

◆ ClockRate

uint32 ChannelConfig_t::ClockRate

Definition at line 120 of file libMPSSE_spi.h.

◆ configOptions

uint32 ChannelConfig_t::configOptions

This member provides a way to enable/disable features specific to the protocol that are implemented in the chip
BIT1-0=CPOL-CPHA: 00 - MODE0 - data captured on rising edge, propagated on falling
01 - MODE1 - data captured on falling edge, propagated on rising
10 - MODE2 - data captured on falling edge, propagated on rising
11 - MODE3 - data captured on rising edge, propagated on falling
BIT4-BIT2: 000 - A/B/C/D_DBUS3=ChipSelect
: 001 - A/B/C/D_DBUS4=ChipSelect
: 010 - A/B/C/D_DBUS5=ChipSelect
: 011 - A/B/C/D_DBUS6=ChipSelect
: 100 - A/B/C/D_DBUS7=ChipSelect
BIT5: ChipSelect is active high if this bit is 0
BIT6 -BIT31 : Reserved

Definition at line 124 of file libMPSSE_spi.h.

◆ LatencyTimer

uint8 ChannelConfig_t::LatencyTimer

Definition at line 122 of file libMPSSE_spi.h.

◆ Pin

uint32 ChannelConfig_t::Pin

BIT7 -BIT0: Initial direction of the pins
BIT15 -BIT8: Initial values of the pins
BIT23 -BIT16: Final direction of the pins
BIT31 -BIT24: Final values of the pins

Definition at line 139 of file libMPSSE_spi.h.

◆ reserved

uint16 ChannelConfig_t::reserved

Definition at line 143 of file libMPSSE_spi.h.


The documentation for this struct was generated from the following file: