/**
   * @brief  Releases the timer queue lock
   * @return OSLockResult structure
   */
  OSLockResult putTimerQLock() {
	  return timerq_lock->unlock();
  }
  /**
   * @brief  Gets the timer queue lock
   * @return OSLockResult structure
   */
  OSLockResult getTimerQLock() {
	  return timerq_lock->lock();
  }
示例#3
0
	/**
	 * @brief  Unlocks the port TX.
	 * @return TRUE if success. FALSE otherwise.
	 */
	bool putTxLock() {
		return port_tx_lock->unlock() == oslock_ok ? true : false;
	}
示例#4
0
	/**
	 * @brief  Locks the TX port
	 * @return TRUE if success. FALSE otherwise.
	 */
	bool getTxLock() {
		return port_tx_lock->lock() == oslock_ok ? true : false;
	}
示例#5
0
	/**
	 * @brief  Unlocks PDelay RX.
	 * @return TRUE if success. FALSE otherwise
	 */
	bool putPDelayRxLock() {
		return pdelay_rx_lock->unlock() == oslock_ok ? true : false;
	}
示例#6
0
	/**
	 * @brief  Do a trylock on the PDelay RX
	 * @return TRUE if acquired the lock. FALSE otherwise.
	 */
	bool tryPDelayRxLock() {
		return pdelay_rx_lock->trylock() == oslock_ok ? true : false;
	}