代码拉取完成,页面将自动刷新
/** \file
\brief CPU initialisation, ARM specific part.
To be included from cpu.c, for details see there.
*/
#if defined TEACUP_C_INCLUDE && defined __ARMEL__
#include "config_wrapper.h"
void cpu_init() {
/**
Other than on ATmegas, the LPC11xx disables all peripherals except GPIO
and SPI0 on reset. Brown Out detector is set to kick in at 1.46 V, without
causing a reset. See chapter 3.5.14 in the LPC11xx User Manual.
GPIO is needed in all configurations, so we just turn off SPI0 if not
needed.
*/
#ifndef SPI
LPC_SYSCON->SYSAHBCLKCTRL &= ~(1 << 11);
#endif
}
#endif /* defined TEACUP_C_INCLUDE && defined __ARMEL__ */
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。