35 #define IPMUX_CH_0 BIT(0)
36 #define IPMUX_CH_1 BIT(1)
37 #define IPMUX_CH_2 BIT(2)
38 #define IPMUX_CH_3 BIT(3)
39 #define IPMUX_CH_CPU BIT(4)
83 bool ipMuxRx(
void * buf, uint32_t buflen, uint32_t * rxlen);
94 bool ipMuxTx(
void * buf, uint32_t txlen,
bool done);
98 #define IPMUX_FLUSH_OP_START 0x1
99 #define IPMUX_FLUSH_OP_END 0x2
100 #define IPMUX_FLUSH_OP_TOGGLE (IPMUX_FLUSH_OP_START | IPMUX_FLUSH_OP_END)
115 void ipMuxFlush(uint32_t channelMask, uint8_t ipmFlushOp);
void ipMuxCfgRemote(IpMuxCfg *svrCfg)
Configure IPmux with remote settings.
bool ipMuxTx(void *buf, uint32_t txlen, bool done)
Sends data to the IPMux's CPU interface.
#define IPMUX_CH_CPU
CPU channel.
IPMux configuration structure.
bool ipMuxRx(void *buf, uint32_t buflen, uint32_t *rxlen)
Received data from the IPMux's CPU interface.
void ipMuxFlush(uint32_t channelMask, uint8_t ipmFlushOp)
Flushes the IPMUX's FIFO's.
void ipMuxDumpRegs()
Debug function to see whats inside.
static void ipMuxFlushCPU()
Flushes the.
bool ipMuxRxAvail()
Returns whether or not there is data available for reception.
void ipMuxSetDest(uint8_t *destIp)
Set the mux destination (server / destination)
void ipMuxInit(IpMuxCfg *modCfg, bool flush)
Initializes the IPMux local (module) only.