frayREG->OBCM_UN.OBCM_UL=(((read_buffer.rdss & 0x1) << 1) | (read_buffer.rhss & 0x1));
frayREG->OBCR_UN.OBCR_UL=((1 << 8) | (read_buffer.obrs & 0x3F)); //req=0, view=1
-
}
/**
boolean_t fifoRejNullFr, fifoRejStatFr;
const Fr_TMS570LS_BufferConfigType* buffer_cfg_ptr = NULL;
-
/* Check FIFO buffer parameters */
if (fifoBufCnt != 0 && fifoBufCfgPtr != NULL) {
fifoChannels = fifoBufCfgPtr[0].channel;
if (Fr_DrvState != FR_ST_CTRL_INITIALIZED) {
return E_NOT_OK;
}
- if (frayREG->CCSV_UN.CCSV_ST.pocs_B6 != FR_POCS_READY && frayREG->CCSV_UN.CCSV_ST.pocs_B6 != FR_POCS_HALT) {
+ if (frayREG->CCSV_UN.CCSV_ST.pocs_B6 != FR_POCS_READY) {
return E_NOT_OK;
}
#endif
- // Node halted, switch to ready
- if (frayREG->CCSV_UN.CCSV_ST.pocs_B6 == FR_POCS_HALT) {
- if (Fr_POC_go_to_config() == E_NOT_OK) {
- return E_NOT_OK;
- }
- if (Fr_POC_go_to_config() == E_NOT_OK) {
- return E_NOT_OK;
- }
- if (Fr_POC_go_to_ready_from_config() == E_NOT_OK) {
- return E_NOT_OK;
- }
- }
-
// Node is configured as coldstart
if (Fr_Config->nodeConfiguration->pKeySlotUsedForStartup == TRUE) {
// Start up loop
else {
return E_NOT_OK;
}
-
return E_OK;
}