#include <libMPSSE_spi.h>
Data Fields | |
uint32 | ClockRate |
uint8 | LatencyTimer |
uint32 | configOptions |
uint32 | Pin |
uint16 | reserved |
Definition at line 118 of file libMPSSE_spi.h.
uint32 ChannelConfig_t::ClockRate |
Definition at line 120 of file libMPSSE_spi.h.
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.
uint8 ChannelConfig_t::LatencyTimer |
Definition at line 122 of file libMPSSE_spi.h.
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.
uint16 ChannelConfig_t::reserved |
Definition at line 143 of file libMPSSE_spi.h.