CC2654 工程需要如何设置才能使用LL_Rand?
工程需要如何设置才能使用LL_Rand?
/*******************************************************************************
* @fn LL_Rand API
*
* @brief This API is called by the HCI to request the LL Controller to
* provide a data block with random content.
*
* input parameters
*
* @param *randData - Pointer to buffer to place a random block of data.
* @param dataLen - The length of the random data block, from 1-255.
*
* output parameters
*
* @param *randData - Pointer to buffer containing a block of true
* random data.
*
* @return LL_STATUS_SUCCESS, LL_STATUS_ERROR_COMMAND_DISALLOWED
*/
extern llStatus_t LL_Rand( uint8 *randData,
uint8 dataLen );
CC2640