mbed os with nrf51 internal bandgap enabled to read battery level

Dependents:   BLE_file_test BLE_Blink ExternalEncoder

Committer:
elessair
Date:
Sun Oct 23 15:10:02 2016 +0000
Revision:
0:f269e3021894
Initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
elessair 0:f269e3021894 1 {% extends "codered_cproject_cortexm0_common.tmpl" %}
elessair 0:f269e3021894 2
elessair 0:f269e3021894 3 {% block startup_file %}cr_startup_lpc11xx.c{% endblock %}
elessair 0:f269e3021894 4
elessair 0:f269e3021894 5 {% block cpu_config %}<?xml version="1.0" encoding="UTF-8"?>
elessair 0:f269e3021894 6 <TargetConfig>
elessair 0:f269e3021894 7 <Properties property_0="" property_2="LPC11_12_13_32K_4K.cfx" property_3="NXP" property_4="LPC1114FN/102" property_count="5" version="60100"/>
elessair 0:f269e3021894 8 <infoList vendor="NXP">
elessair 0:f269e3021894 9 <info chip="LPC1114FN/102" flash_driver="LPC11_12_13_32K_4K.cfx" match_id="0x0A40902B,0x1A40902B" name="LPC1114FN/102" stub="crt_emu_lpc11_13_nxp">
elessair 0:f269e3021894 10 <chip>
elessair 0:f269e3021894 11 <name>LPC1114FN/102</name>
elessair 0:f269e3021894 12 <family>LPC11xx</family>
elessair 0:f269e3021894 13 <vendor>NXP (formerly Philips)</vendor>
elessair 0:f269e3021894 14 <reset board="None" core="Real" sys="Real"/>
elessair 0:f269e3021894 15 <clock changeable="TRUE" freq="12MHz" is_accurate="TRUE"/>
elessair 0:f269e3021894 16 <memory can_program="true" id="Flash" is_ro="true" type="Flash"/>
elessair 0:f269e3021894 17 <memory id="RAM" type="RAM"/>
elessair 0:f269e3021894 18 <memory id="Periph" is_volatile="true" type="Peripheral"/>
elessair 0:f269e3021894 19 <memoryInstance derived_from="Flash" id="MFlash32" location="0x0" size="0x8000"/>
elessair 0:f269e3021894 20 <memoryInstance derived_from="RAM" id="RamLoc4" location="0x10000000" size="0x1000"/>
elessair 0:f269e3021894 21 <peripheralInstance derived_from="V6M_NVIC" determined="infoFile" id="NVIC" location="0xe000e000"/>
elessair 0:f269e3021894 22 <peripheralInstance derived_from="V6M_DCR" determined="infoFile" id="DCR" location="0xe000edf0"/>
elessair 0:f269e3021894 23 <peripheralInstance derived_from="I2C" determined="infoFile" id="I2C" location="0x40000000"/>
elessair 0:f269e3021894 24 <peripheralInstance derived_from="WWDT" determined="infoFile" id="WWDT" location="0x40004000"/>
elessair 0:f269e3021894 25 <peripheralInstance derived_from="UART" determined="infoFile" id="UART" location="0x40008000"/>
elessair 0:f269e3021894 26 <peripheralInstance derived_from="CT16B0" determined="infoFile" id="CT16B0" location="0x4000c000"/>
elessair 0:f269e3021894 27 <peripheralInstance derived_from="CT16B1" determined="infoFile" id="CT16B1" location="0x40010000"/>
elessair 0:f269e3021894 28 <peripheralInstance derived_from="CT32B0" determined="infoFile" id="CT32B0" location="0x40014000"/>
elessair 0:f269e3021894 29 <peripheralInstance derived_from="CT32B1" determined="infoFile" id="CT32B1" location="0x40018000"/>
elessair 0:f269e3021894 30 <peripheralInstance derived_from="ADC" determined="infoFile" id="ADC" location="0x4001c000"/>
elessair 0:f269e3021894 31 <peripheralInstance derived_from="PMU" determined="infoFile" id="PMU" location="0x40038000"/>
elessair 0:f269e3021894 32 <peripheralInstance derived_from="FLASHCTRL" determined="infoFile" id="FLASHCTRL" location="0x4003c000"/>
elessair 0:f269e3021894 33 <peripheralInstance derived_from="SPI0" determined="infoFile" id="SPI0" location="0x40040000"/>
elessair 0:f269e3021894 34 <peripheralInstance derived_from="IOCON" determined="infoFile" id="IOCON" location="0x40044000"/>
elessair 0:f269e3021894 35 <peripheralInstance derived_from="SYSCON" determined="infoFile" id="SYSCON" location="0x40048000"/>
elessair 0:f269e3021894 36 <peripheralInstance derived_from="GPIO0" determined="infoFile" id="GPIO0" location="0x50000000"/>
elessair 0:f269e3021894 37 <peripheralInstance derived_from="GPIO1" determined="infoFile" id="GPIO1" location="0x50010000"/>
elessair 0:f269e3021894 38 <peripheralInstance derived_from="GPIO2" determined="infoFile" id="GPIO2" location="0x50020000"/>
elessair 0:f269e3021894 39 <peripheralInstance derived_from="GPIO3" determined="infoFile" id="GPIO3" location="0x50030000"/>
elessair 0:f269e3021894 40 </chip>
elessair 0:f269e3021894 41 <processor>
elessair 0:f269e3021894 42 <name gcc_name="cortex-m0">Cortex-M0</name>
elessair 0:f269e3021894 43 <family>Cortex-M</family>
elessair 0:f269e3021894 44 </processor>
elessair 0:f269e3021894 45 <link href="LPC11xx_peripheral.xme" show="embed" type="simple"/>
elessair 0:f269e3021894 46 </info>
elessair 0:f269e3021894 47 </infoList>
elessair 0:f269e3021894 48 </TargetConfig>{% endblock %}