comment
This commit is contained in:
parent
46904ee3f1
commit
c291caba7d
@ -9,8 +9,12 @@ PdecConfig::~PdecConfig() {}
|
|||||||
void PdecConfig::initialize() {
|
void PdecConfig::initialize() {
|
||||||
uint32_t word = 0;
|
uint32_t word = 0;
|
||||||
word |= (VERSION_ID << 30);
|
word |= (VERSION_ID << 30);
|
||||||
|
|
||||||
|
// Setting the bypass flag and the control command flag should not have any
|
||||||
|
// implication on the operation of the PDEC IP Core
|
||||||
word |= (BYPASS_FLAG << 29);
|
word |= (BYPASS_FLAG << 29);
|
||||||
word |= (CONTROL_COMMAND_FLAG << 28);
|
word |= (CONTROL_COMMAND_FLAG << 28);
|
||||||
|
|
||||||
word |= (RESERVED_FIELD_A << 26);
|
word |= (RESERVED_FIELD_A << 26);
|
||||||
word |= (SPACECRAFT_ID << 16);
|
word |= (SPACECRAFT_ID << 16);
|
||||||
word |= (VIRTUAL_CHANNEL << 10);
|
word |= (VIRTUAL_CHANNEL << 10);
|
||||||
|
@ -100,6 +100,7 @@ void Max31865EiveHandler::simpleCommand(EiveMax31855::RtdCommands cmd) {
|
|||||||
rawPacket = cmdBuf.data();
|
rawPacket = cmdBuf.data();
|
||||||
rawPacketLen = 1;
|
rawPacketLen = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Max31865EiveHandler::doTransition(Mode_t modeFrom, Submode_t subModeFrom) {
|
void Max31865EiveHandler::doTransition(Mode_t modeFrom, Submode_t subModeFrom) {
|
||||||
if (getMode() == _MODE_TO_NORMAL) {
|
if (getMode() == _MODE_TO_NORMAL) {
|
||||||
if (state != InternalState::ACTIVE) {
|
if (state != InternalState::ACTIVE) {
|
||||||
|
Loading…
Reference in New Issue
Block a user