ptme access wip

This commit is contained in:
2021-05-17 13:47:10 +02:00
parent fbad470836
commit 9c0045dbd9
2 changed files with 31 additions and 1 deletions

View File

@ -53,7 +53,8 @@ private:
/** Size of mapped address space. 4k (minimal size of pl device) */
static const int MAP_SIZE = 0xFA0;
// static const int MAP_SIZE = 0xFA0;
static const int MAP_SIZE = 0x1000;
/**
* Configuration bits:
@ -111,6 +112,12 @@ private:
* @return RETURN_OK when ready to receive data else PAPB_BUSY.
*/
ReturnValue_t pollPapbSignal();
/**
* @brief This function can be used for debugging to check wheter there are packets in
* the packet buffer of the PTME or not.
*/
void ptmeBufferEmpty();
};
#endif /* MISSION_OBC_CCSDSIPCOREBRIDGE_H_ */