This commit adds the HAL layer needed for the BLE controller LL on RV32M1 SoCs on OpenISA boards. Specifically, the controller makes use of the the GenFSK and LPTMR IP blocks. Signed-off-by: George Stefan <george.stefan@nxp.com> Signed-off-by: Radu Alexe <radu.alexe@nxp.com> Signed-off-by: Ionut Ursescu <ionut.ursescu@nxp.com>
14 lines
222 B
C
14 lines
222 B
C
/*
|
|
* Copyright (c) 2016 Nordic Semiconductor ASA
|
|
* Copyright (c) 2016 Vinayak Kariappa Chettimada
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
static inline void cpu_sleep(void)
|
|
{
|
|
__WFE();
|
|
/* __SEV(); */
|
|
__WFE();
|
|
}
|