1: int32_t AG903_SSPMgrSetRxDmaBeat(
AG903_SSPMgrHandle* handle, uint8_t beat)
2: {
3: int32_t retval =
AG903_ENONE;
4: uint8_t ch;
5:
6: retval = SSPMgr_CheckHandle(handle, &ch);
7:
if(
AG903_ENONE != retval) {
8:
return -
AG903_EINVAL;
9: }
10:
11:
return SSPMgr_SetDmaBeat(ch, AG903_SSP_DMA_DIR_RX, beat);
12: }