4 static const uint32_t MCASP_PIN_AFSX = 1 << 28;
5 static const uint32_t MCASP_PIN_AHCLKX = 1 << 27;
6 static const uint32_t MCASP_PIN_ACLKX = 1 << 26;
7 static const uint32_t MCASP_PIN_AMUTE = 1 << 25;
28 uint32_t mcaspOutChannels;
29 uint32_t outSerializersDisabledSubSlots;
37 unsigned int inChannels;
38 unsigned int outChannels;
39 std::vector<unsigned int> inSerializers;
40 std::vector<unsigned int> outSerializers;
41 unsigned int numSlots;
42 unsigned int slotSize;
43 unsigned int dataSize;
44 unsigned int bitDelay;
52 bool externalSamplesRisingEdge;
55 SrctlMode_DISABLED = 0,
60 SrctlDrive_TRISTATE = 0,
64 double getValidAhclk(
double desiredClock,
unsigned int* outDiv =
nullptr);
70 static uint32_t computeTdm(
unsigned int numSlots);
71 static uint32_t computeFifoctl(
unsigned int numSerializers);
77 int setSrctln(
unsigned int n, McaspConfig::SrctlMode mode, McaspConfig::SrctlDrive drive);
78 int setChannels(
unsigned int numChannels, std::vector<unsigned int>& serializers,
bool input);