├── .gitignore ├── .gitmodules ├── ArduinoRFM69 ├── .gitignore ├── README.md ├── rfm69-RF12demo-ook-TX │ ├── dataflash.h │ └── rfm69-RF12demo-ook-TX.ino ├── rfm69-ook-receive-dio2 │ ├── decodeOOK.h │ ├── decoders433.h │ ├── decoders868.h │ ├── radio-ook.h │ └── rfm69-ook-receive-dio2.ino ├── rfm69-ook-receive-rssi │ ├── decodeOOK.h │ ├── decoders433.h │ ├── decoders868.h │ ├── radio-ook.h │ └── rfm69-ook-receive-rssi.ino └── rfm69-ook-relay-rssi │ ├── decodeOOK.h │ ├── decoders433.h │ ├── decoders868.h │ ├── radio-ook.h │ └── rfm69-ook-relay-rssi.ino ├── LICENSE ├── README.md ├── embapps ├── base-project │ ├── .cproject │ ├── .project │ ├── Makefile │ └── main.cpp ├── costcontrol │ ├── .cproject │ ├── .project │ ├── Makefile │ ├── costcontrol.cpp │ └── rf69cc.h ├── rf-ook-tx │ ├── .cproject │ ├── .project │ ├── Makefile │ ├── rf-ook-tx.cpp │ └── rf69rc.h ├── rf-ook │ ├── .cproject │ ├── .project │ ├── Makefile │ ├── decodeOOK.h │ ├── decodeOOK_TEST.h │ ├── decoders433.h │ ├── decoders868.h │ ├── rf-ook.cpp │ └── rf69-ook.h ├── rf-remote-control │ ├── .cproject │ ├── .project │ ├── Makefile │ ├── rf-remote-control.cpp │ └── rf69rc.h └── serial-echo │ ├── .cproject │ ├── .project │ ├── Makefile │ └── serial-echo.cpp ├── forth-apps ├── flib │ ├── any │ │ ├── buffers.fs │ │ ├── crc.fs │ │ ├── digits.fs │ │ ├── i2c-bb.fs │ │ ├── ring.fs │ │ ├── spi-bb.fs │ │ ├── testing.fs │ │ ├── varint-test.fs │ │ └── varint.fs │ ├── fsmc │ │ └── tft-r61505u.fs │ ├── i2c │ │ ├── bme280.fs │ │ ├── mag3110.fs │ │ ├── mcp3424.fs │ │ ├── si570.fs │ │ ├── ssd1306.fs │ │ ├── tlv493.fs │ │ ├── tmp102.fs │ │ ├── tsl4531.fs │ │ └── veml6040.fs │ ├── mecrisp │ │ ├── README.md │ │ ├── calltrace.fs │ │ ├── cond.fs │ │ ├── disassembler-m0.fs │ │ ├── disassembler-m3.fs │ │ ├── graphics.fs │ │ ├── hexdump.fs │ │ ├── multi.fs │ │ ├── quotation.fs │ │ └── sine.fs │ ├── pkg │ │ ├── pins100.fs │ │ ├── pins144.fs │ │ ├── pins32.fs │ │ ├── pins36.fs │ │ ├── pins48.fs │ │ └── pins64.fs │ ├── spi │ │ ├── lcd-pcd8544.fs │ │ ├── rf12.fs │ │ ├── rf69.fs │ │ ├── rf69ook.fs │ │ ├── sdcard.fs │ │ ├── smem.fs │ │ ├── tft-ili9163.fs │ │ └── tft-ili9325.fs │ ├── stm32f1 │ │ ├── adc.fs │ │ ├── clock.fs │ │ ├── dac.fs │ │ ├── hal.fs │ │ ├── i2c.fs │ │ ├── io-orig.fs │ │ ├── io.fs │ │ ├── pwm.fs │ │ ├── rtc.fs │ │ ├── spi.fs │ │ ├── spi2.fs │ │ ├── timer.fs │ │ ├── uart2-irq.fs │ │ └── uart2.fs │ ├── stm32f4 │ │ ├── hal.fs │ │ └── io.fs │ ├── stm32f7 │ │ └── hal.fs │ └── stm32l0 │ │ ├── adc.fs │ │ ├── hal.fs │ │ ├── i2c.fs │ │ ├── io.fs │ │ ├── pwm.fs │ │ ├── sleep.fs │ │ ├── spi.fs │ │ ├── timer.fs │ │ ├── uart2-irq.fs │ │ └── uart2.fs └── jz3 │ └── ex │ ├── aes128.fs │ ├── core.fs │ ├── lora1276.fs │ ├── lorawan-abp-02.fs │ └── lorawan.fs ├── jnz ├── .gitignore ├── blink-systick │ ├── .cproject │ ├── .project │ ├── .settings │ │ └── language.settings.xml │ ├── Makefile │ ├── blink-systick.cpp │ └── main.cpp ├── blink │ ├── .cproject │ ├── .project │ ├── .settings │ │ └── language.settings.xml │ ├── Makefile │ ├── blink.cpp │ ├── blink.map │ └── main.cpp ├── bme280 │ ├── .cproject │ ├── .project │ ├── .settings │ │ └── language.settings.xml │ ├── Makefile │ ├── bme280.cpp │ ├── bme280.h │ ├── bme280.map │ ├── i2c.h │ └── main.cpp ├── libopencm3 │ ├── Makefile.include │ ├── include │ │ ├── libopencm3 │ │ │ ├── cm3 │ │ │ │ ├── assert.h │ │ │ │ ├── common.h │ │ │ │ ├── cortex.h │ │ │ │ ├── doc-cm3.h │ │ │ │ ├── dwt.h │ │ │ │ ├── fpb.h │ │ │ │ ├── itm.h │ │ │ │ ├── memorymap.h │ │ │ │ ├── mpu.h │ │ │ │ ├── nvic.h │ │ │ │ ├── scb.h │ │ │ │ ├── scs.h │ │ │ │ ├── sync.h │ │ │ │ ├── systick.h │ │ │ │ ├── tpiu.h │ │ │ │ └── vector.h │ │ │ ├── dispatch │ │ │ │ └── nvic.h │ │ │ ├── docmain.dox │ │ │ ├── efm32 │ │ │ │ ├── acmp.h │ │ │ │ ├── adc.h │ │ │ │ ├── burtc.h │ │ │ │ ├── cmu.h │ │ │ │ ├── dac.h │ │ │ │ ├── dma.h │ │ │ │ ├── emu.h │ │ │ │ ├── g │ │ │ │ │ ├── doc-efm32g.h │ │ │ │ │ ├── irq.json │ │ │ │ │ └── nvic.h │ │ │ │ ├── gg │ │ │ │ │ ├── doc-efm32gg.h │ │ │ │ │ ├── irq.json │ │ │ │ │ └── nvic.h │ │ │ │ ├── gpio.h │ │ │ │ ├── i2c.h │ │ │ │ ├── letimer.h │ │ │ │ ├── lg │ │ │ │ │ ├── acmp.h │ │ │ │ │ ├── adc.h │ │ │ │ │ ├── burtc.h │ │ │ │ │ ├── cmu.h │ │ │ │ │ ├── dac.h │ │ │ │ │ ├── dma.h │ │ │ │ │ ├── doc-efm32lg.h │ │ │ │ │ ├── emu.h │ │ │ │ │ ├── gpio.h │ │ │ │ │ ├── i2c.h │ │ │ │ │ ├── irq.json │ │ │ │ │ ├── letimer.h │ │ │ │ │ ├── memorymap.h │ │ │ │ │ ├── msc.h │ │ │ │ │ ├── nvic.h │ │ │ │ │ ├── opamp.h │ │ │ │ │ ├── prs.h │ │ │ │ │ ├── rmu.h │ │ │ │ │ ├── rtc.h │ │ │ │ │ ├── timer.h │ │ │ │ │ ├── uart.h │ │ │ │ │ ├── usart.h │ │ │ │ │ ├── usb.h │ │ │ │ │ └── wdog.h │ │ │ │ ├── memorymap.h │ │ │ │ ├── msc.h │ │ │ │ ├── opamp.h │ │ │ │ ├── prs.h │ │ │ │ ├── rmu.h │ │ │ │ ├── rtc.h │ │ │ │ ├── tg │ │ │ │ │ ├── doc-efm32tg.h │ │ │ │ │ ├── irq.json │ │ │ │ │ ├── memorymap.h │ │ │ │ │ └── nvic.h │ │ │ │ ├── timer.h │ │ │ │ ├── uart.h │ │ │ │ ├── usart.h │ │ │ │ ├── usb.h │ │ │ │ └── wdog.h │ │ │ ├── ethernet │ │ │ │ ├── mac.h │ │ │ │ ├── mac_stm32fxx7.h │ │ │ │ ├── phy.h │ │ │ │ └── phy_ksz8051mll.h │ │ │ ├── license.dox │ │ │ ├── lm3s │ │ │ │ ├── doc-lm3s.h │ │ │ │ ├── gpio.h │ │ │ │ ├── irq.json │ │ │ │ ├── memorymap.h │ │ │ │ ├── nvic.h │ │ │ │ ├── rcc.h │ │ │ │ ├── systemcontrol.h │ │ │ │ └── usart.h │ │ │ ├── lm4f │ │ │ │ ├── doc-lm4f.h │ │ │ │ ├── gpio.h │ │ │ │ ├── memorymap.h │ │ │ │ ├── nvic.h │ │ │ │ ├── rcc.h │ │ │ │ ├── ssi.h │ │ │ │ ├── systemcontrol.h │ │ │ │ ├── uart.h │ │ │ │ └── usb.h │ │ │ ├── lpc13xx │ │ │ │ ├── doc-lpc13xx.h │ │ │ │ ├── gpio.h │ │ │ │ ├── irq.json │ │ │ │ ├── memorymap.h │ │ │ │ └── nvic.h │ │ │ ├── lpc17xx │ │ │ │ ├── clock.h │ │ │ │ ├── doc-lpc17xx.h │ │ │ │ ├── gpio.h │ │ │ │ ├── irq.json │ │ │ │ ├── memorymap.h │ │ │ │ ├── nvic.h │ │ │ │ └── pwr.h │ │ │ ├── lpc43xx │ │ │ │ ├── adc.h │ │ │ │ ├── atimer.h │ │ │ │ ├── ccu.h │ │ │ │ ├── cgu.h │ │ │ │ ├── creg.h │ │ │ │ ├── doc-lpc43xx.h │ │ │ │ ├── eventrouter.h │ │ │ │ ├── gima.h │ │ │ │ ├── gpdma.h │ │ │ │ ├── gpio.h │ │ │ │ ├── i2c.h │ │ │ │ ├── i2s.h │ │ │ │ ├── ipc.h │ │ │ │ ├── m0 │ │ │ │ │ ├── irq.json │ │ │ │ │ └── nvic.h │ │ │ │ ├── m4 │ │ │ │ │ ├── irq.json │ │ │ │ │ └── nvic.h │ │ │ │ ├── memorymap.h │ │ │ │ ├── rgu.h │ │ │ │ ├── ritimer.h │ │ │ │ ├── scu.h │ │ │ │ ├── sdio.h │ │ │ │ ├── sgpio.h │ │ │ │ ├── ssp.h │ │ │ │ ├── timer.h │ │ │ │ ├── uart.h │ │ │ │ ├── usb.h │ │ │ │ └── wwdt.h │ │ │ ├── sam │ │ │ │ ├── 3a │ │ │ │ │ ├── gpio.h │ │ │ │ │ ├── irq.json │ │ │ │ │ ├── memorymap.h │ │ │ │ │ ├── nvic.h │ │ │ │ │ ├── pio.h │ │ │ │ │ └── pmc.h │ │ │ │ ├── 3n │ │ │ │ │ ├── gpio.h │ │ │ │ │ ├── irq.json │ │ │ │ │ ├── memorymap.h │ │ │ │ │ ├── nvic.h │ │ │ │ │ ├── periph.h │ │ │ │ │ ├── pio.h │ │ │ │ │ └── pmc.h │ │ │ │ ├── 3s │ │ │ │ │ ├── gpio.h │ │ │ │ │ ├── irq.json │ │ │ │ │ ├── memorymap.h │ │ │ │ │ ├── nvic.h │ │ │ │ │ ├── periph.h │ │ │ │ │ ├── pio.h │ │ │ │ │ ├── pmc.h │ │ │ │ │ └── smc.h │ │ │ │ ├── 3u │ │ │ │ │ ├── gpio.h │ │ │ │ │ ├── irq.json │ │ │ │ │ ├── memorymap.h │ │ │ │ │ ├── nvic.h │ │ │ │ │ ├── periph.h │ │ │ │ │ ├── pio.h │ │ │ │ │ └── pmc.h │ │ │ │ ├── 3x │ │ │ │ │ ├── gpio.h │ │ │ │ │ ├── irq.json │ │ │ │ │ ├── memorymap.h │ │ │ │ │ ├── nvic.h │ │ │ │ │ ├── pio.h │ │ │ │ │ └── pmc.h │ │ │ │ ├── common │ │ │ │ │ ├── gpio_common_3a3u3x.h │ │ │ │ │ ├── gpio_common_3n3s.h │ │ │ │ │ ├── gpio_common_all.h │ │ │ │ │ ├── periph_common_3a3x.h │ │ │ │ │ ├── pio_common_3a3u3x.h │ │ │ │ │ ├── pio_common_3n3s.h │ │ │ │ │ ├── pio_common_all.h │ │ │ │ │ ├── pmc_common_3a3s3x.h │ │ │ │ │ ├── pmc_common_3a3u3x.h │ │ │ │ │ ├── pmc_common_3n3u.h │ │ │ │ │ ├── pmc_common_all.h │ │ │ │ │ └── smc_common_3a3u3x.h │ │ │ │ ├── d │ │ │ │ │ ├── irq.json │ │ │ │ │ ├── memorymap.h │ │ │ │ │ ├── nvic.h │ │ │ │ │ └── port.h │ │ │ │ ├── eefc.h │ │ │ │ ├── gpio.h │ │ │ │ ├── memorymap.h │ │ │ │ ├── periph.h │ │ │ │ ├── pio.h │ │ │ │ ├── pmc.h │ │ │ │ ├── pwm.h │ │ │ │ ├── smc.h │ │ │ │ ├── tc.h │ │ │ │ ├── uart.h │ │ │ │ ├── usart.h │ │ │ │ └── wdt.h │ │ │ ├── stm32 │ │ │ │ ├── adc.h │ │ │ │ ├── can.h │ │ │ │ ├── cec.h │ │ │ │ ├── common │ │ │ │ │ ├── adc_common_v1.h │ │ │ │ │ ├── adc_common_v2.h │ │ │ │ │ ├── adc_common_v2_multi.h │ │ │ │ │ ├── adc_common_v2_single.h │ │ │ │ │ ├── crc_common_all.h │ │ │ │ │ ├── crs_common_all.h │ │ │ │ │ ├── crypto_common_f24.h │ │ │ │ │ ├── dac_common_all.h │ │ │ │ │ ├── dma_common_f24.h │ │ │ │ │ ├── dma_common_l1f013.h │ │ │ │ │ ├── exti_common_all.h │ │ │ │ │ ├── flash_common_f01.h │ │ │ │ │ ├── flash_common_f234.h │ │ │ │ │ ├── flash_common_f24.h │ │ │ │ │ ├── flash_common_l01.h │ │ │ │ │ ├── gpio_common_all.h │ │ │ │ │ ├── gpio_common_f234.h │ │ │ │ │ ├── gpio_common_f24.h │ │ │ │ │ ├── hash_common_f24.h │ │ │ │ │ ├── i2c_common_all.h │ │ │ │ │ ├── i2c_common_f24.h │ │ │ │ │ ├── i2c_common_v2.h │ │ │ │ │ ├── iwdg_common_all.h │ │ │ │ │ ├── pwr_common_all.h │ │ │ │ │ ├── pwr_common_l01.h │ │ │ │ │ ├── rcc_common_all.h │ │ │ │ │ ├── rng_common_f24.h │ │ │ │ │ ├── rtc_common_l1f024.h │ │ │ │ │ ├── spi_common_all.h │ │ │ │ │ ├── spi_common_f03.h │ │ │ │ │ ├── spi_common_f1.h │ │ │ │ │ ├── spi_common_l01f24.h │ │ │ │ │ ├── st_usbfs_common.h │ │ │ │ │ ├── st_usbfs_v1.h │ │ │ │ │ ├── st_usbfs_v2.h │ │ │ │ │ ├── syscfg_common_l1f234.h │ │ │ │ │ ├── timer_common_all.h │ │ │ │ │ ├── timer_common_f24.h │ │ │ │ │ ├── usart_common_all.h │ │ │ │ │ ├── usart_common_f124.h │ │ │ │ │ ├── usart_common_f24.h │ │ │ │ │ ├── usart_common_l0f0.h │ │ │ │ │ └── usart_common_v2.h │ │ │ │ ├── comparator.h │ │ │ │ ├── crc.h │ │ │ │ ├── crs.h │ │ │ │ ├── crypto.h │ │ │ │ ├── dac.h │ │ │ │ ├── dbgmcu.h │ │ │ │ ├── desig.h │ │ │ │ ├── dma.h │ │ │ │ ├── dma2d.h │ │ │ │ ├── dsi.h │ │ │ │ ├── exti.h │ │ │ │ ├── f0 │ │ │ │ │ ├── adc.h │ │ │ │ │ ├── cec.h │ │ │ │ │ ├── comparator.h │ │ │ │ │ ├── crc.h │ │ │ │ │ ├── dac.h │ │ │ │ │ ├── dma.h │ │ │ │ │ ├── doc-stm32f0.h │ │ │ │ │ ├── exti.h │ │ │ │ │ ├── flash.h │ │ │ │ │ ├── gpio.h │ │ │ │ │ ├── i2c.h │ │ │ │ │ ├── irq.json │ │ │ │ │ ├── iwdg.h │ │ │ │ │ ├── memorymap.h │ │ │ │ │ ├── nvic.h │ │ │ │ │ ├── pwr.h │ │ │ │ │ ├── rcc.h │ │ │ │ │ ├── rtc.h │ │ │ │ │ ├── spi.h │ │ │ │ │ ├── st_usbfs.h │ │ │ │ │ ├── syscfg.h │ │ │ │ │ ├── timer.h │ │ │ │ │ ├── tsc.h │ │ │ │ │ └── usart.h │ │ │ │ ├── f1 │ │ │ │ │ ├── adc.h │ │ │ │ │ ├── bkp.h │ │ │ │ │ ├── crc.h │ │ │ │ │ ├── dac.h │ │ │ │ │ ├── dma.h │ │ │ │ │ ├── doc-stm32f1.h │ │ │ │ │ ├── exti.h │ │ │ │ │ ├── flash.h │ │ │ │ │ ├── gpio.h │ │ │ │ │ ├── i2c.h │ │ │ │ │ ├── irq.json │ │ │ │ │ ├── iwdg.h │ │ │ │ │ ├── memorymap.h │ │ │ │ │ ├── nvic.h │ │ │ │ │ ├── pwr.h │ │ │ │ │ ├── rcc.h │ │ │ │ │ ├── rtc.h │ │ │ │ │ ├── spi.h │ │ │ │ │ ├── st_usbfs.h │ │ │ │ │ ├── timer.h │ │ │ │ │ └── usart.h │ │ │ │ ├── f2 │ │ │ │ │ ├── crc.h │ │ │ │ │ ├── crypto.h │ │ │ │ │ ├── dac.h │ │ │ │ │ ├── dma.h │ │ │ │ │ ├── doc-stm32f2.h │ │ │ │ │ ├── exti.h │ │ │ │ │ ├── flash.h │ │ │ │ │ ├── gpio.h │ │ │ │ │ ├── hash.h │ │ │ │ │ ├── i2c.h │ │ │ │ │ ├── irq.json │ │ │ │ │ ├── iwdg.h │ │ │ │ │ ├── memorymap.h │ │ │ │ │ ├── nvic.h │ │ │ │ │ ├── pwr.h │ │ │ │ │ ├── rcc.h │ │ │ │ │ ├── rng.h │ │ │ │ │ ├── rtc.h │ │ │ │ │ ├── spi.h │ │ │ │ │ ├── syscfg.h │ │ │ │ │ ├── timer.h │ │ │ │ │ └── usart.h │ │ │ │ ├── f3 │ │ │ │ │ ├── adc.h │ │ │ │ │ ├── crc.h │ │ │ │ │ ├── dac.h │ │ │ │ │ ├── dma.h │ │ │ │ │ ├── doc-stm32f3.h │ │ │ │ │ ├── exti.h │ │ │ │ │ ├── flash.h │ │ │ │ │ ├── gpio.h │ │ │ │ │ ├── i2c.h │ │ │ │ │ ├── irq.json │ │ │ │ │ ├── iwdg.h │ │ │ │ │ ├── memorymap.h │ │ │ │ │ ├── nvic.h │ │ │ │ │ ├── pwr.h │ │ │ │ │ ├── rcc.h │ │ │ │ │ ├── rtc.h │ │ │ │ │ ├── spi.h │ │ │ │ │ ├── st_usbfs.h │ │ │ │ │ ├── syscfg.h │ │ │ │ │ ├── timer.h │ │ │ │ │ └── usart.h │ │ │ │ ├── f4 │ │ │ │ │ ├── adc.h │ │ │ │ │ ├── crc.h │ │ │ │ │ ├── crypto.h │ │ │ │ │ ├── dac.h │ │ │ │ │ ├── dma.h │ │ │ │ │ ├── dma2d.h │ │ │ │ │ ├── doc-stm32f4.h │ │ │ │ │ ├── dsi.h │ │ │ │ │ ├── exti.h │ │ │ │ │ ├── flash.h │ │ │ │ │ ├── fmc.h │ │ │ │ │ ├── gpio.h │ │ │ │ │ ├── hash.h │ │ │ │ │ ├── i2c.h │ │ │ │ │ ├── irq.json │ │ │ │ │ ├── iwdg.h │ │ │ │ │ ├── ltdc.h │ │ │ │ │ ├── memorymap.h │ │ │ │ │ ├── nvic.h │ │ │ │ │ ├── pwr.h │ │ │ │ │ ├── quadspi.h │ │ │ │ │ ├── rcc.h │ │ │ │ │ ├── rng.h │ │ │ │ │ ├── rtc.h │ │ │ │ │ ├── spi.h │ │ │ │ │ ├── syscfg.h │ │ │ │ │ ├── timer.h │ │ │ │ │ └── usart.h │ │ │ │ ├── f7 │ │ │ │ │ ├── doc-stm32f7.h │ │ │ │ │ ├── gpio.h │ │ │ │ │ ├── irq.json │ │ │ │ │ ├── memorymap.h │ │ │ │ │ ├── nvic.h │ │ │ │ │ └── rcc.h │ │ │ │ ├── flash.h │ │ │ │ ├── fsmc.h │ │ │ │ ├── gpio.h │ │ │ │ ├── hash.h │ │ │ │ ├── i2c.h │ │ │ │ ├── iwdg.h │ │ │ │ ├── l0 │ │ │ │ │ ├── adc.h │ │ │ │ │ ├── doc-stm32l0.h │ │ │ │ │ ├── exti.h │ │ │ │ │ ├── flash.h │ │ │ │ │ ├── gpio.h │ │ │ │ │ ├── i2c.h │ │ │ │ │ ├── irq.json │ │ │ │ │ ├── memorymap.h │ │ │ │ │ ├── nvic.h │ │ │ │ │ ├── pwr.h │ │ │ │ │ ├── rcc.h │ │ │ │ │ ├── spi.h │ │ │ │ │ ├── st_usbfs.h │ │ │ │ │ ├── syscfg.h │ │ │ │ │ ├── timer.h │ │ │ │ │ └── usart.h │ │ │ │ ├── l1 │ │ │ │ │ ├── adc.h │ │ │ │ │ ├── crc.h │ │ │ │ │ ├── dac.h │ │ │ │ │ ├── dma.h │ │ │ │ │ ├── doc-stm32l1.h │ │ │ │ │ ├── exti.h │ │ │ │ │ ├── flash.h │ │ │ │ │ ├── gpio.h │ │ │ │ │ ├── i2c.h │ │ │ │ │ ├── irq.json │ │ │ │ │ ├── iwdg.h │ │ │ │ │ ├── lcd.h │ │ │ │ │ ├── memorymap.h │ │ │ │ │ ├── nvic.h │ │ │ │ │ ├── pwr.h │ │ │ │ │ ├── rcc.h │ │ │ │ │ ├── rtc.h │ │ │ │ │ ├── spi.h │ │ │ │ │ ├── st_usbfs.h │ │ │ │ │ ├── syscfg.h │ │ │ │ │ ├── timer.h │ │ │ │ │ └── usart.h │ │ │ │ ├── l4 │ │ │ │ │ ├── adc.h │ │ │ │ │ ├── doc-stm32l4.h │ │ │ │ │ ├── flash.h │ │ │ │ │ ├── gpio.h │ │ │ │ │ ├── irq.json │ │ │ │ │ ├── memorymap.h │ │ │ │ │ ├── nvic.h │ │ │ │ │ ├── pwr.h │ │ │ │ │ ├── rcc.h │ │ │ │ │ └── timer.h │ │ │ │ ├── ltdc.h │ │ │ │ ├── memorymap.h │ │ │ │ ├── otg_common.h │ │ │ │ ├── otg_fs.h │ │ │ │ ├── otg_hs.h │ │ │ │ ├── pwr.h │ │ │ │ ├── quadspi.h │ │ │ │ ├── rcc.h │ │ │ │ ├── rtc.h │ │ │ │ ├── sdio.h │ │ │ │ ├── spi.h │ │ │ │ ├── st_usbfs.h │ │ │ │ ├── syscfg.h │ │ │ │ ├── timer.h │ │ │ │ ├── tools.h │ │ │ │ ├── tsc.h │ │ │ │ ├── usart.h │ │ │ │ └── wwdg.h │ │ │ ├── usb │ │ │ │ ├── audio.h │ │ │ │ ├── cdc.h │ │ │ │ ├── dfu.h │ │ │ │ ├── doc-usb.h │ │ │ │ ├── hid.h │ │ │ │ ├── midi.h │ │ │ │ ├── msc.h │ │ │ │ ├── usbd.h │ │ │ │ └── usbstd.h │ │ │ └── vf6xx │ │ │ │ ├── anadig.h │ │ │ │ ├── ccm.h │ │ │ │ ├── doc-vf6xx.h │ │ │ │ ├── gpio.h │ │ │ │ ├── iomuxc.h │ │ │ │ ├── irq.json │ │ │ │ ├── memorymap.h │ │ │ │ ├── nvic.h │ │ │ │ └── uart.h │ │ └── libopencmsis │ │ │ ├── core_cm3.h │ │ │ ├── dispatch │ │ │ └── irqhandlers.h │ │ │ ├── efm32 │ │ │ ├── g │ │ │ │ └── irqhandlers.h │ │ │ ├── gg │ │ │ │ └── irqhandlers.h │ │ │ ├── lg │ │ │ │ └── irqhandlers.h │ │ │ └── tg │ │ │ │ └── irqhandlers.h │ │ │ ├── lm3s │ │ │ └── irqhandlers.h │ │ │ ├── lpc13xx │ │ │ └── irqhandlers.h │ │ │ ├── lpc17xx │ │ │ └── irqhandlers.h │ │ │ ├── lpc43xx │ │ │ ├── m0 │ │ │ │ └── irqhandlers.h │ │ │ └── m4 │ │ │ │ └── irqhandlers.h │ │ │ ├── sam │ │ │ ├── 3a │ │ │ │ └── irqhandlers.h │ │ │ ├── 3n │ │ │ │ └── irqhandlers.h │ │ │ ├── 3s │ │ │ │ └── irqhandlers.h │ │ │ ├── 3u │ │ │ │ └── irqhandlers.h │ │ │ ├── 3x │ │ │ │ └── irqhandlers.h │ │ │ └── d │ │ │ │ └── irqhandlers.h │ │ │ ├── stm32 │ │ │ ├── f0 │ │ │ │ └── irqhandlers.h │ │ │ ├── f1 │ │ │ │ └── irqhandlers.h │ │ │ ├── f2 │ │ │ │ └── irqhandlers.h │ │ │ ├── f3 │ │ │ │ └── irqhandlers.h │ │ │ ├── f4 │ │ │ │ └── irqhandlers.h │ │ │ ├── f7 │ │ │ │ └── irqhandlers.h │ │ │ ├── l0 │ │ │ │ └── irqhandlers.h │ │ │ ├── l1 │ │ │ │ └── irqhandlers.h │ │ │ └── l4 │ │ │ │ └── irqhandlers.h │ │ │ └── vf6xx │ │ │ └── irqhandlers.h │ ├── lib │ │ ├── libopencm3_stm32f0.a │ │ ├── libopencm3_stm32f0.ld │ │ ├── libopencm3_stm32f1.a │ │ ├── libopencm3_stm32f1.ld │ │ ├── libopencm3_stm32f2.a │ │ ├── libopencm3_stm32f2.ld │ │ ├── libopencm3_stm32f3.a │ │ ├── libopencm3_stm32f3.ld │ │ ├── libopencm3_stm32f4.a │ │ ├── libopencm3_stm32f4.ld │ │ ├── libopencm3_stm32l0.a │ │ ├── libopencm3_stm32l0.ld │ │ ├── libopencm3_stm32l1.a │ │ └── libopencm3_stm32l1.ld │ ├── rules.mk │ └── stm32l0xx8.ld ├── motion │ ├── .autotools │ ├── Makefile │ ├── main.cpp │ ├── radio.cpp │ ├── radio.map │ ├── rf69.h │ └── spi.h ├── p9813-rgb │ ├── Makefile │ ├── main.cpp │ ├── p9813-rgb-int.cpp │ ├── p9813-rgb.cpp │ ├── p9813-rgb.h │ └── p9813-rgb.map ├── radio │ ├── .cproject │ ├── .project │ ├── .settings │ │ └── language.settings.xml │ ├── Makefile │ ├── main.cpp │ ├── radio.cpp │ ├── rf69.h │ └── spi.h ├── rf-ook │ ├── .cproject │ ├── .project │ ├── .settings │ │ └── language.settings.xml │ ├── Makefile │ ├── decodeOOK.h │ ├── decodeOOK_TEST.h │ ├── decoders433.h │ ├── decoders868.h │ ├── main.cpp │ ├── rf-ook.cpp │ ├── rf69-ook.h │ ├── rf69.h │ └── spi.h └── usart │ ├── .cproject │ ├── .project │ ├── .settings │ └── language.settings.xml │ ├── Makefile │ ├── main.cpp │ └── usart.cpp ├── pico-apps └── rf_ping │ ├── Makefile │ └── rf_ping.cpp └── raspi-apps ├── README.md ├── rf-ook-optimize ├── decodeOOK.h ├── decodeOOK_TEST.h ├── decoders433.h ├── decoders868.h ├── ook.log ├── opti1.log ├── opti2.log ├── rf-ook ├── rf-ook.cpp └── rf69-ook.h ├── rf-ook ├── Makefile ├── decodeOOK.h ├── decodeOOK_TEST.h ├── decoders433.h ├── decoders868.h ├── ook.log ├── rf-ook ├── rf-ook.cpp └── rf69-ook.h ├── rfm69-cc1101 ├── rf-cc1101.cpp └── rf69-cc1101.h └── rfm69tool ├── Makefile ├── decodeOOK.h ├── decodeOOK_TEST.h ├── decoders433.h ├── decoders868.h ├── main.cpp ├── radio-ook.h ├── rf69spi ├── rf69spi.cpp ├── rfm69tool └── rfm69tool.cpp /.gitignore: -------------------------------------------------------------------------------- 1 | #build output 2 | /build 3 | *.d 4 | *.o 5 | *.elf 6 | *.hex 7 | *.bin 8 | *.launch 9 | *.log 10 | 11 | ##eclipse IDE 12 | .project 13 | .cproject 14 | .metadata 15 | .settings 16 | 17 | raspi-apps/rf-ook-optimize 18 | 19 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "embello"] 2 | path = embello 3 | url = https://github.com/jeelabs/embello.git 4 | -------------------------------------------------------------------------------- /ArduinoRFM69/.gitignore: -------------------------------------------------------------------------------- 1 | decodeOOK_TEST.h 2 | -------------------------------------------------------------------------------- /ArduinoRFM69/README.md: -------------------------------------------------------------------------------- 1 | # embapps ArduinoRFM69 2 | Various OOK receive and transmit programs for the RFM69 3 | Using JeeLib, and aiming at the Classic JeeNode and JeeLink V3C. 4 | 5 | ##Unmodified JeeLink V3C 6 | The following sketches only require standard SPI wiring of the RFM69, and no additional soldering for DATA/DIO2 lines is required. 7 | rfm69-RF12demo-ook-TX is the classic RF12demo sketch that can send KAKU and FS20 commands. 8 | rfm69-ook-receive-rssi can receive various OOK signals by sampling the RSSI signal register. 9 | rfm69-ook-relay-rssi receives OOK signals, and the decoded signal is transmitted on the standard JeeLib RF12-packet network. 10 | 11 | ##Solder-brdige closed JeeLink V3C 12 | The next sketch is using the DIO2/DATA line, connected to D3=INT0, for example by closing the soldering bridge in the JeeLinkV3C 13 | rfm69-ook-receive-dio2 14 | 15 | Supported decoders can be found in the decoders433.h and decoders868.h. From more backgound see http://jeelabs.org/2011/02/03/ook-relay-revisited-2/ 16 | 17 | more examples using the DIO2 line can be expected. 18 | 19 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 SevenW 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # embapps 2 | ARM Cortex-Mn Embedded applications building on JeeBook code. 3 | ... 4 | -------------------------------------------------------------------------------- /embapps/base-project/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | test 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.cdt.managedbuilder.core.genmakebuilder 10 | clean,full,incremental, 11 | 12 | 13 | 14 | 15 | org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder 16 | full,incremental, 17 | 18 | 19 | 20 | 21 | 22 | org.eclipse.cdt.core.cnature 23 | org.eclipse.cdt.core.ccnature 24 | org.eclipse.cdt.managedbuilder.core.managedBuildNature 25 | org.eclipse.cdt.managedbuilder.core.ScannerConfigNature 26 | 27 | 28 | -------------------------------------------------------------------------------- /embapps/base-project/Makefile: -------------------------------------------------------------------------------- 1 | #CFLAGS += -DSTARTUP_NO_IRQS 2 | CXXFLAGS += -I. 3 | ISPOPTS += -t 4 | LINK = LPC810.ld 5 | ARCH = lpc8xx 6 | 7 | OBJS = rf_ook.o system_LPC8xx.o gcc_startup_lpc8xx.o \ 8 | uart.o printf.o printf-retarget.o 9 | 10 | default: isp 11 | 12 | SHARED = ../sys-none 13 | include $(SHARED)/rules.mk 14 | -------------------------------------------------------------------------------- /embapps/costcontrol/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | costcontrol 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.cdt.managedbuilder.core.genmakebuilder 10 | clean,full,incremental, 11 | 12 | 13 | 14 | 15 | org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder 16 | full,incremental, 17 | 18 | 19 | 20 | 21 | 22 | org.eclipse.cdt.core.cnature 23 | org.eclipse.cdt.core.ccnature 24 | org.eclipse.cdt.managedbuilder.core.managedBuildNature 25 | org.eclipse.cdt.managedbuilder.core.ScannerConfigNature 26 | 27 | 28 | -------------------------------------------------------------------------------- /embapps/costcontrol/Makefile: -------------------------------------------------------------------------------- 1 | #TODO: Move -I vendor/lpcopen/inc into rules.mk 2 | LIBDIR = ../../embello/lib 3 | CFLAGS += -DCORE_M0PLUS 4 | CXXFLAGS += -DCORE_M0PLUS -I. -I$(LIBDIR)/vendor/lpcopen/inc 5 | ISPOPTS += -s 6 | LINK = LPC810.ld #LPC810.ld | LPC812.ld | LPC824.ld Defines memory layout 7 | ARCH = lpc8xx 8 | 9 | OBJS = costcontrol.o system_LPC8xx.o gcc_startup_lpc8xx.o \ 10 | uart.o printf.o printf-retarget.o 11 | 12 | default: isp 13 | 14 | #LIBDIR = ../embello/lib 15 | SHARED = $(LIBDIR)/sys-none 16 | include $(SHARED)/rules.mk 17 | -------------------------------------------------------------------------------- /embapps/rf-ook-tx/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | rf-ook-tx 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.cdt.managedbuilder.core.genmakebuilder 10 | clean,full,incremental, 11 | 12 | 13 | 14 | 15 | org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder 16 | full,incremental, 17 | 18 | 19 | 20 | 21 | 22 | org.eclipse.cdt.core.cnature 23 | org.eclipse.cdt.core.ccnature 24 | org.eclipse.cdt.managedbuilder.core.managedBuildNature 25 | org.eclipse.cdt.managedbuilder.core.ScannerConfigNature 26 | 27 | 28 | -------------------------------------------------------------------------------- /embapps/rf-ook-tx/Makefile: -------------------------------------------------------------------------------- 1 | #TODO: Move -I vendor/lpcopen/inc into rules.mk 2 | LIBDIR = ../../embello/lib 3 | CFLAGS += -DCORE_M0PLUS 4 | CXXFLAGS += -DCORE_M0PLUS -I. -I$(LIBDIR)/vendor/lpcopen/inc 5 | ISPOPTS += -s 6 | LINK = LPC810.ld #LPC810.ld | LPC812.ld | LPC824.ld Defines memory layout 7 | ARCH = lpc8xx 8 | 9 | OBJS = rf-ook-tx.o system_LPC8xx.o gcc_startup_lpc8xx.o \ 10 | uart.o printf.o printf-retarget.o 11 | 12 | default: isp 13 | 14 | #LIBDIR = ../embello/lib 15 | SHARED = $(LIBDIR)/sys-none 16 | include $(SHARED)/rules.mk 17 | -------------------------------------------------------------------------------- /embapps/rf-ook/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | rf-ook 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.cdt.managedbuilder.core.genmakebuilder 10 | clean,full,incremental, 11 | 12 | 13 | 14 | 15 | org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder 16 | full,incremental, 17 | 18 | 19 | 20 | 21 | 22 | org.eclipse.cdt.core.cnature 23 | org.eclipse.cdt.core.ccnature 24 | org.eclipse.cdt.managedbuilder.core.managedBuildNature 25 | org.eclipse.cdt.managedbuilder.core.ScannerConfigNature 26 | 27 | 28 | -------------------------------------------------------------------------------- /embapps/rf-ook/Makefile: -------------------------------------------------------------------------------- 1 | #TODO: Move -I vendor/lpcopen/inc into rules.mk 2 | LIBDIR = ../../embello/lib 3 | CFLAGS += -DCORE_M0PLUS 4 | CXXFLAGS += -DCORE_M0PLUS -I. -I$(LIBDIR)/vendor/lpcopen/inc 5 | ISPOPTS += -s 6 | LINK = LPC824.ld 7 | ARCH = lpc8xx 8 | 9 | OBJS = rf-ook.o system_LPC8xx.o gcc_startup_lpc8xx.o \ 10 | uart.o printf.o printf-retarget.o 11 | 12 | default: isp 13 | 14 | #LIBDIR = ../../embello/lib 15 | SHARED = $(LIBDIR)/sys-none 16 | include $(SHARED)/rules.mk 17 | -------------------------------------------------------------------------------- /embapps/rf-remote-control/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | rf-remote-control 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.cdt.managedbuilder.core.genmakebuilder 10 | clean,full,incremental, 11 | 12 | 13 | 14 | 15 | org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder 16 | full,incremental, 17 | 18 | 19 | 20 | 21 | 22 | org.eclipse.cdt.core.cnature 23 | org.eclipse.cdt.core.ccnature 24 | org.eclipse.cdt.managedbuilder.core.managedBuildNature 25 | org.eclipse.cdt.managedbuilder.core.ScannerConfigNature 26 | 27 | 28 | -------------------------------------------------------------------------------- /embapps/rf-remote-control/Makefile: -------------------------------------------------------------------------------- 1 | #TODO: Move -I vendor/lpcopen/inc into rules.mk 2 | LIBDIR = ../../embello/lib 3 | CFLAGS += -DCORE_M0PLUS 4 | CXXFLAGS += -DCORE_M0PLUS -I. -I$(LIBDIR)/vendor/lpcopen/inc 5 | ISPOPTS += -s 6 | LINK = LPC812.ld #LPC810.ld | LPC812.ld | LPC824.ld Defines memory layout 7 | ARCH = lpc8xx 8 | 9 | OBJS = rf-remote-control.o system_LPC8xx.o gcc_startup_lpc8xx.o \ 10 | printf.o printf-retarget.o 11 | 12 | default: isp 13 | 14 | #LIBDIR = ../../embello/lib 15 | SHARED = $(LIBDIR)/sys-none 16 | include $(SHARED)/rules.mk 17 | -------------------------------------------------------------------------------- /embapps/serial-echo/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | serial-echo 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.cdt.managedbuilder.core.genmakebuilder 10 | clean,full,incremental, 11 | 12 | 13 | 14 | 15 | org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder 16 | full,incremental, 17 | 18 | 19 | 20 | 21 | 22 | org.eclipse.cdt.core.cnature 23 | org.eclipse.cdt.core.ccnature 24 | org.eclipse.cdt.managedbuilder.core.managedBuildNature 25 | org.eclipse.cdt.managedbuilder.core.ScannerConfigNature 26 | 27 | 28 | -------------------------------------------------------------------------------- /embapps/serial-echo/Makefile: -------------------------------------------------------------------------------- 1 | #TODO: Move -I vendor/lpcopen/inc into rules.mk 2 | LIBDIR = ../../embello/lib 3 | CFLAGS += -DCORE_M0PLUS 4 | CXXFLAGS += -DCORE_M0PLUS -I. -I$(LIBDIR)/vendor/lpcopen/inc 5 | ISPOPTS += -s 6 | LINK = LPC810.ld #LPC810.ld | LPC812.ld | LPC824.ld Defines memory layout 7 | ARCH = lpc8xx 8 | 9 | OBJS = serial-echo.o system_LPC8xx.o gcc_startup_lpc8xx.o \ 10 | printf.o printf-retarget.o 11 | 12 | default: isp 13 | 14 | #LIBDIR = ../../embello/lib 15 | SHARED = $(LIBDIR)/sys-none 16 | include $(SHARED)/rules.mk 17 | -------------------------------------------------------------------------------- /forth-apps/flib/any/buffers.fs: -------------------------------------------------------------------------------- 1 | \ Helpers to work with character buffers 2 | 3 | \ stack>buffer copies i bytes from the stack into a buffer 4 | : stack>buffer ( b1 b2 ... bi i c-addr -- c-addr len ) 5 | 2dup swap 2>r \ save c-addr len 6 | over + ( b1 b2 ... bi i c-end-addr ) 7 | swap 0 ?do 1- tuck c! loop 8 | drop 2r> 9 | ; 10 | 11 | : buffer-cpy ( c-addr1 c-addr2 len -- c-addr1 len ) \ c-addr1 is dest c-addr2 is src 12 | swap 2 pick 2 pick move ; 13 | 14 | : buffer. ( c-addr len -- ) \ print buffer like @ [ ... ] 15 | ." @" over . dup . ." [ " 255 and 0 ?do dup i + c@ . loop drop ." ]" ; 16 | -------------------------------------------------------------------------------- /forth-apps/flib/any/crc.fs: -------------------------------------------------------------------------------- 1 | \ crc calculation 2 | 3 | create crc16-table 4 | hex 5 | $0000 h, $CC01 h, $D801 h, $1400 h, $F001 h, $3C00 h, $2800 h, $E401 h, 6 | $A001 h, $6C00 h, $7800 h, $B401 h, $5000 h, $9C01 h, $8801 h, $4400 h, 7 | decimal 8 | 9 | : crc16@ ( u -- u ) $F and shl crc16-table + h@ ; 10 | : crc16h ( crc u -- crc ) crc16@ swap dup crc16@ swap 4 rshift xor xor ; 11 | 12 | : crc16 ( b crc -- crc ) \ update CRC16 with given byte 13 | over crc16h swap 4 rshift crc16h ; 14 | -------------------------------------------------------------------------------- /forth-apps/flib/any/spi-bb.fs: -------------------------------------------------------------------------------- 1 | \ bit-banged SPI driver 2 | 3 | PA4 variable ssel \ pin used as slave select 4 | 5 | [ifndef] SCLK PA5 constant SCLK [then] 6 | [ifndef] MISO PA6 constant MISO [then] 7 | [ifndef] MOSI PA7 constant MOSI [then] 8 | 9 | : +spi ( -- ) ssel @ ioc! ; \ select SPI 10 | : -spi ( -- ) ssel @ ios! ; \ deselect SPI 11 | 12 | : >spi> ( c -- c ) \ bit-banged SPI, 8 bits 13 | 8 0 do 14 | dup $80 and MOSI io! 15 | SCLK ios! 16 | shl 17 | MISO io@ or 18 | SCLK ioc! 19 | loop 20 | $FF and ; 21 | 22 | \ single byte transfers 23 | : spi> ( -- c ) 0 >spi> ; \ read byte from SPI 24 | : >spi ( c -- ) >spi> drop ; \ write byte to SPI 25 | 26 | : spi-init ( -- ) \ set up bit-banged SPI 27 | OMODE-PP ssel @ io-mode! -spi 28 | OMODE-PP SCLK io-mode! 29 | IMODE-FLOAT MISO io-mode! 30 | OMODE-PP MOSI io-mode! ; 31 | -------------------------------------------------------------------------------- /forth-apps/flib/any/testing.fs: -------------------------------------------------------------------------------- 1 | \ Simple support for unit tests. 2 | 3 | -1 variable tests-OK 4 | : fail-tests 0 tests-OK ! ; \ used by assertions 5 | 6 | : test-summary ( -- ) \ print a summary of tests 7 | tests-OK @ not if ." ** TESTS FAILED! **" else 8 | depth 0<> if ." ** TESTS OK but stack not empty: " .v else 9 | ." ** ALL OK **" then then cr ; 10 | 11 | : =always ( n1 n2 -- ) \ assert that the two TOS values must be equal 12 | 2dup <> if 13 | ." FAIL: got " swap . ." expected " . fail-tests 14 | else 2drop then ; 15 | 16 | : =always-fix ( df1 df2 -- ) \ assert that the two TOS fixed-point values must be equal 17 | 2dup 2rot 2dup 2rot ( df2 df1 df1 df2 ) 18 | d<> if 19 | ." FAIL: got " f. ." expected " f. fail-tests 20 | else 2drop 2drop then ; 21 | 22 | : always ( f -- ) \ assert that the flag on TOS is true 23 | 0= if 24 | ." FAIL!" fail-tests 25 | else ." OK!" then ; 26 | -------------------------------------------------------------------------------- /forth-apps/flib/i2c/mag3110.fs: -------------------------------------------------------------------------------- 1 | \ read out the MAG3110 sensor 2 | \ needs i2c 3 | 4 | : mag-init ( -- nak ) 5 | i2c-init $0E i2c-addr $10 >i2c $80 >i2c $C9 >i2c 0 i2c-xfer 6 | $0E i2c-addr $10 >i2c $81 >i2c 0 i2c-xfer or ; 7 | 8 | : mag-data ( -- x y z ) 9 | $0E i2c-addr $01 >i2c 6 i2c-xfer drop i2c>h i2c>h i2c>h ; 10 | 11 | \ mag-init . 12 | \ mag-data . . . 13 | -------------------------------------------------------------------------------- /forth-apps/flib/i2c/mcp3424.fs: -------------------------------------------------------------------------------- 1 | \ read out the MCP3424 sensor 2 | \ needs i2c 3 | 4 | [ifndef] MCP.ADDR $68 constant MCP.ADDR [then] 5 | 6 | : mcp-init ( -- nak ) 7 | i2c-init MCP.ADDR i2c-addr $1100 >i2c 0 i2c-xfer ; 8 | 9 | : mcp-data ( chan -- n ) \ measure as signed 17-bit, wait in stop mode 10 | 5 lshift %10001100 or \ 18-bit readings, 3.75 SPS, PGA x1 11 | MCP.ADDR i2c-addr >i2c 0 i2c-xfer drop 12 | begin 13 | stop100ms 14 | MCP.ADDR i2c-addr 4 i2c-xfer drop 4 0 do i2c> loop 15 | 7 bit and while \ loop while NRDY 16 | drop drop drop \ ignore returned value 17 | repeat 18 | swap 8 lshift or swap 16 lshift or 14 lshift 14 arshift ; 19 | 20 | 21 | \ mcp-init . 22 | \ 0 mcp-data . 23 | -------------------------------------------------------------------------------- /forth-apps/flib/i2c/tmp102.fs: -------------------------------------------------------------------------------- 1 | \ Read out the tmp102 temperature sensor on i2c-bus 2 | \ see http://jeelabs.net/boards/7/topics/7417 3 | 4 | [ifndef] TMP.ADDR $48 constant TMP.ADDR [then] 5 | 6 | \ use PA13 and PA14 to supply power to the TMP102 sensor 7 | : tmp102-power 8 | OMODE-PP PA14 io-mode! PA14 ioc! \ set PA14 to "0", acting as ground 9 | OMODE-PP PA13 io-mode! PA13 ios! \ set PA13 to "1", acting as +3.3V 10 | ; 11 | 12 | : tmp102-init ( -- ) \ initialise the TMP102, assuming it's powered by IO pins 13 | tmp102-power 50 ms i2c-init ; 14 | 15 | : tmp102 ( -- i ) \ returns temp in steps of 0.1 °C 16 | TMP.ADDR i2c-addr 0 >i2c 2 i2c-xfer drop \ sensor read out 17 | i2c> 24 lshift 16 arshift \ sign extend 18 | i2c> or \ bits 31..4 now have the temperature, signed 19 | 5 + 10 * 8 arshift \ convert to rounded tenths of degrees centigrade 20 | ; 21 | -------------------------------------------------------------------------------- /forth-apps/flib/i2c/tsl4531.fs: -------------------------------------------------------------------------------- 1 | \ read out the TSL4531 sensor 2 | \ needs i2c 3 | 4 | : tsl-init ( -- nak ) 5 | i2c-init $29 i2c-addr $03 >i2c 0 i2c-xfer ; 6 | 7 | : tsl-data ( -- v ) 8 | $29 i2c-addr $84 >i2c 2 i2c-xfer drop i2c>h ; 9 | 10 | \ tsl-init . 11 | \ tsl-data . 12 | -------------------------------------------------------------------------------- /forth-apps/flib/i2c/veml6040.fs: -------------------------------------------------------------------------------- 1 | \ read out the VEML6040 sensor 2 | \ needs i2c 3 | 4 | : veml-init ( -- nak ) 5 | i2c-init $10 i2c-addr 3 0 do $00 >i2c loop 0 i2c-xfer ; 6 | 7 | : veml-rd ( reg -- val ) 8 | $10 i2c-addr >i2c 2 i2c-xfer drop i2c>h ; 9 | 10 | : veml-data ( -- r g b w ) 11 | $8 veml-rd $9 veml-rd $A veml-rd $B veml-rd ; 12 | 13 | 14 | \ veml-init . 15 | \ veml-data . . . . 16 | -------------------------------------------------------------------------------- /forth-apps/flib/mecrisp/README.md: -------------------------------------------------------------------------------- 1 | The files in this directory were copied and some were slightly modified from 2 | the examples found in the [Mecrisp Stellaris Forth][MSF] source code. 3 | 4 | These files are covered by the [GNU General Public License][GPL], version 3. 5 | 6 | [MSF]: http://mecrisp.sourceforge.net 7 | [GPL]: https://en.wikipedia.org/wiki/GNU_General_Public_License 8 | -------------------------------------------------------------------------------- /forth-apps/flib/mecrisp/cond.fs: -------------------------------------------------------------------------------- 1 | \ Conditional compilation 2 | 3 | \ Idea similar to http://lars.nocrew.org/dpans/dpansa15.htm#A.15.6.2.2532 4 | 5 | : nexttoken ( -- addr len ) 6 | begin 7 | token \ Fetch new token. 8 | dup 0= while \ If length of token is zero, end of line is reached. 9 | 2drop cr query \ Fetch new line. 10 | repeat 11 | ; 12 | 13 | : [else] ( -- ) 14 | 1 \ Initial level of nesting 15 | begin 16 | nexttoken ( level addr len ) 17 | 18 | 2dup s" [if]" compare 19 | >r 2dup s" [ifdef]" compare r> or 20 | >r 2dup s" [ifndef]" compare r> or 21 | 22 | if 23 | 2drop 1+ \ One more level of nesting 24 | else 25 | 2dup s" [else]" compare 26 | if 27 | 2drop 1- dup if 1+ then \ Finished if [else] is reached in level 1. Skip [else] branch otherwise. 28 | else 29 | s" [then]" compare if 1- then \ Level completed. 30 | then 31 | then 32 | 33 | ?dup 0= 34 | until 35 | 36 | immediate 0-foldable 37 | ; 38 | 39 | : [then] ( -- ) immediate 0-foldable ; 40 | 41 | : [if] ( ? -- ) 0= if postpone [else] then immediate 1-foldable ; 42 | : [ifdef] ( -- ) token find drop 0= if postpone [else] then immediate 0-foldable ; 43 | : [ifndef] ( -- ) token find drop 0<> if postpone [else] then immediate 0-foldable ; 44 | -------------------------------------------------------------------------------- /forth-apps/flib/mecrisp/quotation.fs: -------------------------------------------------------------------------------- 1 | \ Quotations for Mecrisp-Stellaris 2 | 3 | : [: ( -- xt ) 4 | $3F04 h, \ subs r7, #4 5 | $603E h, \ str r6, [ r7 #0 ] 6 | $467E h, \ mov r6, pc 7 | postpone ahead \ b.n ... 8 | $B500 h, \ push {lr} 9 | immediate ; 10 | 11 | : ;] ( -- ) 12 | postpone exit 13 | postpone then 14 | immediate ; 15 | 16 | \ : demo ( -- n ) 17 | \ 3 [: 1+ 5 * ;] dup hex. execute ; 18 | \ 19 | \ demo . 20 | -------------------------------------------------------------------------------- /forth-apps/flib/pkg/pins32.fs: -------------------------------------------------------------------------------- 1 | \ pin definitions for chips up to 32 pins 2 | 3 | 0 0 io constant PA0 1 0 io constant PB0 4 | 0 1 io constant PA1 1 1 io constant PB1 5 | 0 2 io constant PA2 1 2 io constant PB2 6 | 0 3 io constant PA3 1 3 io constant PB3 7 | 0 4 io constant PA4 1 4 io constant PB4 8 | 0 5 io constant PA5 1 5 io constant PB5 9 | 0 6 io constant PA6 1 6 io constant PB6 10 | 0 7 io constant PA7 1 7 io constant PB7 11 | 0 8 io constant PA8 1 8 io constant PB8 12 | 0 9 io constant PA9 13 | 0 10 io constant PA10 14 | 0 11 io constant PA11 15 | 0 12 io constant PA12 16 | 0 13 io constant PA13 17 | 0 14 io constant PA14 2 14 io constant PC14 18 | 0 15 io constant PA15 2 15 io constant PC15 19 | -------------------------------------------------------------------------------- /forth-apps/flib/pkg/pins36.fs: -------------------------------------------------------------------------------- 1 | \ pin definitions for chips up to 36 pins 2 | 3 | 0 0 io constant PA0 1 0 io constant PB0 3 0 io constant PD0 4 | 0 1 io constant PA1 1 1 io constant PB1 3 1 io constant PD1 5 | 0 2 io constant PA2 1 2 io constant PB2 6 | 0 3 io constant PA3 1 3 io constant PB3 7 | 0 4 io constant PA4 1 4 io constant PB4 8 | 0 5 io constant PA5 1 5 io constant PB5 9 | 0 6 io constant PA6 1 6 io constant PB6 10 | 0 7 io constant PA7 1 7 io constant PB7 11 | 0 8 io constant PA8 12 | 0 9 io constant PA9 13 | 0 10 io constant PA10 14 | 0 11 io constant PA11 15 | 0 12 io constant PA12 16 | 0 13 io constant PA13 17 | 0 14 io constant PA14 18 | 0 15 io constant PA15 19 | -------------------------------------------------------------------------------- /forth-apps/flib/pkg/pins48.fs: -------------------------------------------------------------------------------- 1 | \ pin definitions for chips up to 48 pins 2 | 3 | 0 0 io constant PA0 1 0 io constant PB0 3 0 io constant PD0 4 | 0 1 io constant PA1 1 1 io constant PB1 3 1 io constant PD1 5 | 0 2 io constant PA2 1 2 io constant PB2 6 | 0 3 io constant PA3 1 3 io constant PB3 7 | 0 4 io constant PA4 1 4 io constant PB4 8 | 0 5 io constant PA5 1 5 io constant PB5 9 | 0 6 io constant PA6 1 6 io constant PB6 10 | 0 7 io constant PA7 1 7 io constant PB7 11 | 0 8 io constant PA8 1 8 io constant PB8 12 | 0 9 io constant PA9 1 9 io constant PB9 13 | 0 10 io constant PA10 1 10 io constant PB10 14 | 0 11 io constant PA11 1 11 io constant PB11 15 | 0 12 io constant PA12 1 12 io constant PB12 16 | 0 13 io constant PA13 1 13 io constant PB13 2 13 io constant PC13 17 | 0 14 io constant PA14 1 14 io constant PB14 2 14 io constant PC14 18 | 0 15 io constant PA15 1 15 io constant PB15 2 15 io constant PC15 19 | -------------------------------------------------------------------------------- /forth-apps/flib/spi/tft-ili9163.fs: -------------------------------------------------------------------------------- 1 | \ tft driver for ILI9163 chip, uses SPI2 hardware 2 | 3 | create tft:init 4 | hex 5 | 001 h, 201 h, 011 h, 214 h, 028 h, 013 h, 020 h, 026 h, 101 h, 02A h, 6 | 100 h, 100 h, 100 h, 17F h, 02B h, 100 h, 100 h, 100 h, 17F h, 036 h, 7 | 14A h, 03A h, 155 h, 278 h, 029 h, 0 h, 8 | decimal 9 | 10 | : >tft ( u -- ) 11 | dup $100 and TFT-RS io! +spi2 >spi2 -spi2 TFT-RS ios! ; 12 | 13 | : h>tft ( u -- ) 14 | \ assumes TFT-RS is already set 15 | dup 8 rshift >spi2 >spi2 ; 16 | 17 | $0000 variable tft-bg 18 | $FC00 variable tft-fg 19 | 20 | : tft-init ( -- ) 21 | OMODE-PP TFT-RS io-mode! TFT-RS ios! 22 | spi2-init 23 | tft:init begin 24 | dup h@ ?dup while 25 | dup $200 and if $FF and ms else >tft then 26 | 2 + repeat drop ; 27 | 28 | : goxy ( x y -- ) 29 | $2A >tft $100 >tft $102 + >tft $100 >tft $181 >tft 30 | $2B >tft $100 >tft $101 + >tft $100 >tft $180 >tft 31 | $2C >tft 32 | ; 33 | 34 | \ clear, putpixel, and display are used by the graphics.fs code 35 | 36 | : clear ( -- ) \ clear display memory 37 | 0 0 goxy tft-bg @ +spi2 16384 0 do dup h>tft loop -spi2 drop ; 38 | 39 | : putpixel ( x y -- ) \ set a pixel in display memory 40 | goxy tft-fg @ +spi2 h>tft -spi2 ; 41 | 42 | : display ( -- ) ; \ update tft from display memory (ignored) 43 | -------------------------------------------------------------------------------- /forth-apps/flib/stm32f1/uart2-irq.fs: -------------------------------------------------------------------------------- 1 | \ interrupt-based USART2 with input ring buffer 2 | \ needs ring.fs 3 | \ needs uart2-stm32f1.fs 4 | 5 | 128 4 + buffer: uart-ring 6 | 7 | : uart-irq-handler ( -- ) \ handle the USART receive interrupt 8 | USART2-DR @ \ will drop input when there is no room left 9 | uart-ring dup ring? if >ring else 2drop then ; 10 | 11 | $E000E104 constant NVIC-EN1R \ IRQ 32 to 63 Set Enable Register 12 | 13 | : uart-irq-init ( -- ) \ initialise the USART2 using a receive ring buffer 14 | uart-init 15 | uart-ring 128 init-ring 16 | ['] uart-irq-handler irq-usart2 ! 17 | 6 bit NVIC-EN1R ! \ enable USART2 interrupt 38 18 | 5 bit USART2-CR1 bis! \ set RXNEIE 19 | ; 20 | 21 | : uart-irq-key? ( -- f ) \ input check for interrupt-driven ring buffer 22 | uart-ring ring# 0<> ; 23 | : uart-irq-key ( -- c ) \ input read from interrupt-driven ring buffer 24 | begin uart-irq-key? until uart-ring ring> ; 25 | -------------------------------------------------------------------------------- /forth-apps/flib/stm32f1/uart2.fs: -------------------------------------------------------------------------------- 1 | \ polled access to the second UART (USART2) 2 | 3 | $40004400 constant USART2 4 | USART2 $00 + constant USART2-SR 5 | USART2 $04 + constant USART2-DR 6 | USART2 $08 + constant USART2-BRR 7 | USART2 $0C + constant USART2-CR1 8 | \ USART2 $10 + constant USART2-CR2 9 | \ USART2 $14 + constant USART2-CR3 10 | \ USART2 $18 + constant USART2-GPTR 11 | 12 | : uart. ( -- ) 13 | cr ." SR " USART2-SR @ h.4 14 | \ ." DR " USART2-DR @ h.4 15 | ." BRR " USART2-BRR @ h.4 16 | ." CR1 " USART2-CR1 @ h.4 ; 17 | \ ." CR2 " USART2-CR2 @ h.4 18 | \ ." CR3 " USART2-CR3 @ h.4 19 | \ ." GPTR " USART2-GPTR @ h.4 ; 20 | 21 | : uart-init ( -- ) 22 | OMODE-AF-PP OMODE-FAST + PA2 io-mode! 23 | IMODE-FLOAT PA3 io-mode! 24 | 17 bit RCC-APB1ENR bis! \ set USART2EN 25 | 115200 baud 2/ USART2-BRR ! \ set baud rate assuming PCLK1 = system-clock / 2 26 | %0010000000001100 USART2-CR1 ! ; 27 | 28 | : uart-key? ( -- f ) 1 5 lshift USART2-SR bit@ ; 29 | : uart-key ( -- c ) begin uart-key? until USART2-DR @ ; 30 | : uart-emit? ( -- f ) 1 7 lshift USART2-SR bit@ ; 31 | : uart-emit ( c -- ) begin uart-emit? until USART2-DR ! ; 32 | -------------------------------------------------------------------------------- /forth-apps/flib/stm32l0/timer.fs: -------------------------------------------------------------------------------- 1 | \ hardware timers 2 | \ this only handles TIMER 2, 3, 6, and 7 3 | 4 | $00 constant TIM.CR1 5 | $04 constant TIM.CR2 6 | $0C constant TIM.DIER 7 | $28 constant TIM.PSC 8 | $2C constant TIM.ARR 9 | 10 | : timer-base ( n -- addr ) \ return base address for timer 1..14 11 | 2- $400 * $40000000 + ; 12 | 13 | : timer-enabit ( n -- bit addr ) \ return bit and enable address for timer n 14 | 2- bit RCC-APB1ENR ; 15 | 16 | : timer-init ( u n -- ) \ enable timer n as free-running with period u 17 | dup timer-enabit bis! \ clock enable 18 | timer-base >r 19 | dup 16 rshift TIM.PSC r@ + h! \ upper 16 bits are used to set prescaler 20 | TIM.ARR r@ + h! \ period is auto-reload value 21 | 8 bit TIM.DIER r@ + bis! \ UDE 22 | %010 4 lshift TIM.CR2 r@ + ! \ MMS = update 23 | 0 bit TIM.CR1 r> + ! \ CEN 24 | ; 25 | 26 | : timer-deinit ( n -- ) \ disable timer n 27 | timer-enabit bic! ; 28 | -------------------------------------------------------------------------------- /forth-apps/flib/stm32l0/uart2-irq.fs: -------------------------------------------------------------------------------- 1 | \ interrupt-based USART2 with input ring buffer 2 | \ needs ring.fs 3 | \ needs uart2.fs 4 | 5 | 128 4 + buffer: uart2-ring 6 | 7 | : uart2-irq-handler ( -- ) \ handle the USART receive interrupt 8 | USART2-RDR @ \ will drop input when there is no room left 9 | uart2-ring dup ring? if >ring else 2drop then ; 10 | 11 | $E000E100 constant NVIC-EN0R \ IRQ 0 to 31 Set Enable Register 12 | 13 | : uart2-init ( -- ) \ initialise the USART2 using a receive ring buffer 14 | uart2-init 15 | uart2-ring 128 init-ring 16 | ['] uart2-irq-handler irq-usart2 ! 17 | 28 bit NVIC-EN0R bis! \ enable USART2 interrupt 28 18 | 5 bit USART2-CR1 bis! \ set RXNEIE 19 | ; 20 | 21 | : uart2-key? ( -- f ) \ input check for interrupt-driven ring buffer 22 | uart2-ring ring# 0<> ; 23 | : uart2-key ( -- c ) \ input read from interrupt-driven ring buffer 24 | begin uart2-key? until uart2-ring ring> ; 25 | -------------------------------------------------------------------------------- /forth-apps/jz3/ex/core.fs: -------------------------------------------------------------------------------- 1 | \ core libraries 2 | 3 | <<>> 4 | cr compiletoflash 5 | ( core start: ) here dup hex. 6 | 7 | : rf-send ; \ to make varint happy even without radio driver 8 | include ../../flib/any/buffers.fs 9 | \ include ../../flib/spi/rf69.fs 10 | include ./lora1276.fs 11 | include ../../flib/any/varint.fs 12 | \ include gps.fs 13 | 14 | include ./aes128.fs 15 | \ include ./aes-ctr-cmac.fs 16 | include ./lorawan.fs 17 | 18 | ( core end, size: ) here dup hex. swap - . 19 | cornerstone <<>> 20 | compiletoram 21 | -------------------------------------------------------------------------------- /jnz/.gitignore: -------------------------------------------------------------------------------- 1 | #build output 2 | /build 3 | *.d 4 | *.o 5 | *.elf 6 | *.hex 7 | *.bin 8 | *.launch 9 | *.log 10 | 11 | ##eclipse IDE 12 | .project 13 | .cproject 14 | .metadata 15 | .settings 16 | 17 | raspi-apps/rf-ook-optimize 18 | 19 | -------------------------------------------------------------------------------- /jnz/blink-systick/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | blink-systick 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.cdt.managedbuilder.core.genmakebuilder 10 | clean,full,incremental, 11 | 12 | 13 | 14 | 15 | org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder 16 | full,incremental, 17 | 18 | 19 | 20 | 21 | 22 | org.eclipse.cdt.core.cnature 23 | org.eclipse.cdt.core.ccnature 24 | org.eclipse.cdt.managedbuilder.core.managedBuildNature 25 | org.eclipse.cdt.managedbuilder.core.ScannerConfigNature 26 | 27 | 28 | -------------------------------------------------------------------------------- /jnz/blink-systick/.settings/language.settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /jnz/blink-systick/Makefile: -------------------------------------------------------------------------------- 1 | BINARY = blink-systick 2 | V=1 #verbose make 3 | OBJS = main.o 4 | 5 | OPENCM3_DIR = ../libopencm3 6 | LDSCRIPT = $(OPENCM3_DIR)/stm32l0xx8.ld 7 | SCRIPT_DIR = .. 8 | default: $(BINARY).bin 9 | 10 | V=1 #verbose make 11 | include $(OPENCM3_DIR)/Makefile.include 12 | -------------------------------------------------------------------------------- /jnz/blink-systick/blink-systick.cpp: -------------------------------------------------------------------------------- 1 | // Simple LED blink demo for the JeeNode Zero. 2 | // 3 | // See also https://github.com/libopencm3/libopencm3-examples/blob/master/ 4 | // examples/stm32/l0/stm32l0538-disco/miniblink/miniblink.c 5 | 6 | #include 7 | #include 8 | 9 | uint32_t timertick = 0; 10 | 11 | uint32_t millis (); 12 | 13 | void setup (void) { 14 | //gpio_mode_setup(GPIOA, GPIO_MODE_OUTPUT, GPIO_PUPD_NONE, GPIO15); // rev1 15 | gpio_mode_setup(GPIOB, GPIO_MODE_OUTPUT, GPIO_PUPD_NONE, GPIO5); // rev3 16 | //gpio_mode_setup(GPIOA, GPIO_MODE_OUTPUT, GPIO_PUPD_NONE, GPIO8); // rev4 17 | 18 | timertick = millis(); 19 | 20 | return; 21 | } 22 | 23 | void loop () { 24 | while ((millis() - timertick) < 1000) 25 | __asm(""); 26 | timertick = millis(); 27 | 28 | // for (int i = 0; i < 1000000; ++i) 29 | // __asm(""); 30 | 31 | //gpio_toggle(GPIOA, GPIO15); // rev1 32 | gpio_toggle(GPIOB, GPIO5); // rev3 33 | //gpio_toggle(GPIOA, GPIO8); // rev4 34 | } 35 | -------------------------------------------------------------------------------- /jnz/blink/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | blink 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.cdt.managedbuilder.core.genmakebuilder 10 | clean,full,incremental, 11 | 12 | 13 | 14 | 15 | org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder 16 | full,incremental, 17 | 18 | 19 | 20 | 21 | 22 | org.eclipse.cdt.core.cnature 23 | org.eclipse.cdt.core.ccnature 24 | org.eclipse.cdt.managedbuilder.core.managedBuildNature 25 | org.eclipse.cdt.managedbuilder.core.ScannerConfigNature 26 | 27 | 28 | -------------------------------------------------------------------------------- /jnz/blink/.settings/language.settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /jnz/blink/Makefile: -------------------------------------------------------------------------------- 1 | BINARY = blink 2 | V=1 #verbose make 3 | OBJS = main.o 4 | 5 | OPENCM3_DIR = ../libopencm3 6 | LDSCRIPT = $(OPENCM3_DIR)/stm32l0xx8.ld 7 | SCRIPT_DIR = .. 8 | default: $(BINARY).bin 9 | 10 | V=1 #verbose make 11 | include $(OPENCM3_DIR)/Makefile.include 12 | -------------------------------------------------------------------------------- /jnz/blink/blink.cpp: -------------------------------------------------------------------------------- 1 | // Simple LED blink demo for the JeeNode Zero. 2 | // 3 | // See also https://github.com/libopencm3/libopencm3-examples/blob/master/ 4 | // examples/stm32/l0/stm32l0538-disco/miniblink/miniblink.c 5 | 6 | #include 7 | #include 8 | 9 | void setup (void) { 10 | //gpio_mode_setup(GPIOA, GPIO_MODE_OUTPUT, GPIO_PUPD_NONE, GPIO15); // rev1 11 | //gpio_mode_setup(GPIOB, GPIO_MODE_OUTPUT, GPIO_PUPD_NONE, GPIO5); // rev3 12 | gpio_mode_setup(GPIOA, GPIO_MODE_OUTPUT, GPIO_PUPD_NONE, GPIO8); // rev4 13 | 14 | return; 15 | } 16 | 17 | void loop () { 18 | for (int i = 0; i < 1000000; ++i) 19 | __asm(""); 20 | 21 | //gpio_toggle(GPIOA, GPIO15); // rev1 22 | //gpio_toggle(GPIOB, GPIO5); // rev3 23 | gpio_toggle(GPIOA, GPIO8); // rev4 24 | } 25 | -------------------------------------------------------------------------------- /jnz/bme280/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | bme280 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.cdt.managedbuilder.core.genmakebuilder 10 | clean,full,incremental, 11 | 12 | 13 | 14 | 15 | org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder 16 | full,incremental, 17 | 18 | 19 | 20 | 21 | 22 | org.eclipse.cdt.core.cnature 23 | org.eclipse.cdt.core.ccnature 24 | org.eclipse.cdt.managedbuilder.core.managedBuildNature 25 | org.eclipse.cdt.managedbuilder.core.ScannerConfigNature 26 | 27 | 28 | -------------------------------------------------------------------------------- /jnz/bme280/.settings/language.settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /jnz/bme280/Makefile: -------------------------------------------------------------------------------- 1 | BINARY = bme280 2 | V=1 #verbose make 3 | OBJS = main.o 4 | 5 | OPENCM3_DIR = ../libopencm3 6 | LDSCRIPT = $(OPENCM3_DIR)/stm32l0xx8.ld 7 | SCRIPT_DIR = .. 8 | default: $(BINARY).bin 9 | 10 | V=1 #verbose make 11 | include $(OPENCM3_DIR)/Makefile.include 12 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/cm3/doc-cm3.h: -------------------------------------------------------------------------------- 1 | /** @mainpage libopencm3 Core CM3 2 | 3 | @version 1.0.0 4 | 5 | @date 14 September 2012 6 | 7 | API documentation for Cortex M3 core features. 8 | 9 | LGPL License Terms @ref lgpl_license 10 | */ 11 | 12 | /** @defgroup CM3_defines CM3 Defines 13 | 14 | @brief Defined Constants and Types for Cortex M3 core features 15 | 16 | @version 1.0.0 17 | 18 | @date 14 September 2012 19 | 20 | LGPL License Terms @ref lgpl_license 21 | */ 22 | 23 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/docmain.dox: -------------------------------------------------------------------------------- 1 | /** @mainpage libopencm3 Developer Documentation 2 | 3 | @version 1.0.0 4 | 5 | @date 7 September 2012 6 | 7 | * The libopencm3 project (previously known as libopenstm32) aims to create 8 | * a free/libre/open-source (LGPL v3, or later) firmware library for various 9 | * ARM Cortex-M microcontrollers, including ST STM32, Atmel SAM, NXP LPC, 10 | * TI Stellaris/Tiva/MSP432, Silabs (Energy Micro) and others. 11 | * 12 | * @par "" 13 | * 14 | * See the libopencm3 wiki for 15 | * more information. 16 | 17 | LGPL License Terms @ref lgpl_license 18 | */ 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/efm32/acmp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * Copyright (C) 2015 Kuldeep Singh Dhaka 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #if defined(EFM32LG) 21 | # include 22 | #else 23 | # error "efm32 family not defined." 24 | #endif 25 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/efm32/adc.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * Copyright (C) 2015 Kuldeep Singh Dhaka 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #if defined(EFM32LG) 21 | # include 22 | #else 23 | # error "efm32 family not defined." 24 | #endif 25 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/efm32/burtc.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * Copyright (C) 2015 Kuldeep Singh Dhaka 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #if defined(EFM32LG) 21 | # include 22 | #else 23 | # error "efm32 family not defined." 24 | #endif 25 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/efm32/cmu.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * Copyright (C) 2015 Kuldeep Singh Dhaka 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #if defined(EFM32LG) 21 | # include 22 | #else 23 | # error "efm32 family not defined." 24 | #endif 25 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/efm32/dac.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * Copyright (C) 2015 Kuldeep Singh Dhaka 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #if defined(EFM32LG) 21 | # include 22 | #else 23 | # error "efm32 family not defined." 24 | #endif 25 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/efm32/dma.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * Copyright (C) 2015 Kuldeep Singh Dhaka 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #if defined(EFM32LG) 21 | # include 22 | #else 23 | # error "efm32 family not defined." 24 | #endif 25 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/efm32/emu.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * Copyright (C) 2015 Kuldeep Singh Dhaka 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #if defined(EFM32LG) 21 | # include 22 | #else 23 | # error "efm32 family not defined." 24 | #endif 25 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/efm32/g/doc-efm32g.h: -------------------------------------------------------------------------------- 1 | /** @mainpage libopencm3 EFM32 Gecko 2 | 3 | @version 1.0.0 4 | 5 | @date 11 November 2012 6 | 7 | API documentation for Energy Micro EFM32 Gecko Cortex M3 series. 8 | 9 | LGPL License Terms @ref lgpl_license 10 | */ 11 | 12 | /** @defgroup EFM32G EFM32 Gecko 13 | Libraries for Energy Micro EFM32 Gecko series. 14 | 15 | @version 1.0.0 16 | 17 | @date 11 November 2012 18 | 19 | LGPL License Terms @ref lgpl_license 20 | */ 21 | 22 | /** @defgroup EFM32G_defines EFM32 Gecko Defines 23 | 24 | @brief Defined Constants and Types for the Energy Micro EFM32 Gecko series 25 | 26 | @version 1.0.0 27 | 28 | @date 11 November 2012 29 | 30 | LGPL License Terms @ref lgpl_license 31 | */ 32 | 33 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/efm32/g/irq.json: -------------------------------------------------------------------------------- 1 | { 2 | "_source": "The names and sequence are taken from d0001_efm32g_reference_manual.pdf table 4.1.", 3 | "irqs": [ 4 | "dma", 5 | "gpio_even", 6 | "timer0", 7 | "usart0_rx", 8 | "usart0_tx", 9 | "acmp01", 10 | "adc0", 11 | "dac0", 12 | "i2c0", 13 | "gpio_odd", 14 | "timer1", 15 | "timer2", 16 | "usart1_rx", 17 | "usart1_tx", 18 | "usart2_rx", 19 | "usart2_tx", 20 | "uart0_rx", 21 | "uart0_tx", 22 | "leuart0", 23 | "leuart1", 24 | "letimer0", 25 | "pcnt0", 26 | "pcnt1", 27 | "pcnt2", 28 | "rtc", 29 | "cmu", 30 | "vcmp", 31 | "lcd", 32 | "msc", 33 | "aes" 34 | ], 35 | "partname_humanreadable": "EFM32 Gecko series", 36 | "partname_doxygen": "EFM32G", 37 | "includeguard": "LIBOPENCM3_EFM32G_NVIC_H" 38 | } 39 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/efm32/gg/doc-efm32gg.h: -------------------------------------------------------------------------------- 1 | /** @mainpage libopencm3 EFM32 Giant Gecko 2 | 3 | @version 1.0.0 4 | 5 | @date 11 November 2012 6 | 7 | API documentation for Energy Micro EFM32 Giant Gecko Cortex M3 series. 8 | 9 | LGPL License Terms @ref lgpl_license 10 | */ 11 | 12 | /** @defgroup EFM32GG EFM32 Giant Gecko 13 | Libraries for Energy Micro EFM32 Giant Gecko series. 14 | 15 | @version 1.0.0 16 | 17 | @date 11 November 2012 18 | 19 | LGPL License Terms @ref lgpl_license 20 | */ 21 | 22 | /** @defgroup EFM32GG_defines EFM32 Giant Gecko Defines 23 | 24 | @brief Defined Constants and Types for the Energy Micro EFM32 Giant Gecko series 25 | 26 | @version 1.0.0 27 | 28 | @date 11 November 2012 29 | 30 | LGPL License Terms @ref lgpl_license 31 | */ 32 | 33 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/efm32/gg/irq.json: -------------------------------------------------------------------------------- 1 | { 2 | "_source": "The names and sequence are taken from d0053_efm32gg_refreence_manual.pdf table 4.1.", 3 | "irqs": [ 4 | "dma", 5 | "gpio_even", 6 | "timer0", 7 | "usart0_rx", 8 | "usart0_tx", 9 | "usb", 10 | "acmp01", 11 | "adc0", 12 | "dac0", 13 | "i2c0", 14 | "i2c1", 15 | "gpio_odd", 16 | "timer1", 17 | "timer2", 18 | "timer3", 19 | "usart1_rx", 20 | "usart1_tx", 21 | "lesense", 22 | "usart2_rx", 23 | "usart2_tx", 24 | "uart0_rx", 25 | "uart0_tx", 26 | "uart1_rx", 27 | "uart1_tx", 28 | "leuart0", 29 | "leuart1", 30 | "letimer0", 31 | "pcnt0", 32 | "pcnt1", 33 | "pcnt2", 34 | "rtc", 35 | "burtc", 36 | "cmu", 37 | "vcmp", 38 | "lcd", 39 | "msc", 40 | "aes", 41 | "ebi" 42 | ], 43 | "partname_humanreadable": "EFM32 Giant Gecko series", 44 | "partname_doxygen": "EFM32GG", 45 | "includeguard": "LIBOPENCM3_EFM32GG_NVIC_H" 46 | } 47 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/efm32/gpio.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * Copyright (C) 2015 Kuldeep Singh Dhaka 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #if defined(EFM32LG) 21 | # include 22 | #else 23 | # error "efm32 family not defined." 24 | #endif 25 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/efm32/i2c.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * Copyright (C) 2015 Kuldeep Singh Dhaka 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #if defined(EFM32LG) 21 | # include 22 | #else 23 | # error "efm32 family not defined." 24 | #endif 25 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/efm32/letimer.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * Copyright (C) 2015 Kuldeep Singh Dhaka 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #if defined(EFM32LG) 21 | # include 22 | #else 23 | # error "efm32 family not defined." 24 | #endif 25 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/efm32/lg/doc-efm32lg.h: -------------------------------------------------------------------------------- 1 | /** @mainpage libopencm3 EFM32 Leopard Gecko 2 | 3 | @version 1.0.0 4 | 5 | @date 4 March 2013 6 | 7 | API documentation for Energy Micro EFM32 Leopard Gecko Cortex M3 series. 8 | 9 | LGPL License Terms @ref lgpl_license 10 | */ 11 | 12 | /** @defgroup EFM32LG EFM32 LeopardGecko 13 | Libraries for Energy Micro EFM32 Leopard Gecko series. 14 | 15 | @version 1.0.0 16 | 17 | @date 4 March 2013 18 | 19 | LGPL License Terms @ref lgpl_license 20 | */ 21 | 22 | /** @defgroup EFM32LG_defines EFM32 Leopard Gecko Defines 23 | 24 | @brief Defined Constants and Types for the Energy Micro EFM32 Leopard Gecko 25 | series 26 | 27 | @version 1.0.0 28 | 29 | @date 4 March 2013 30 | 31 | LGPL License Terms @ref lgpl_license 32 | */ 33 | 34 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/efm32/lg/irq.json: -------------------------------------------------------------------------------- 1 | { 2 | "_source": "The names and sequence are taken from d0183_efm32lg_reference_manual.pdf table 4.1.", 3 | "irqs": [ 4 | "dma", 5 | "gpio_even", 6 | "timer0", 7 | "usart0_rx", 8 | "usart0_tx", 9 | "usb", 10 | "acmp01", 11 | "adc0", 12 | "dac0", 13 | "i2c0", 14 | "i2c1", 15 | "gpio_odd", 16 | "timer1", 17 | "timer2", 18 | "timer3", 19 | "usart1_rx", 20 | "usart1_tx", 21 | "lesense", 22 | "usart2_rx", 23 | "usart2_tx", 24 | "uart0_rx", 25 | "uart0_tx", 26 | "uart1_rx", 27 | "uart1_tx", 28 | "leuart0", 29 | "leuart1", 30 | "letimer0", 31 | "pcnt0", 32 | "pcnt1", 33 | "pcnt2", 34 | "rtc", 35 | "burtc", 36 | "cmu", 37 | "vcmp", 38 | "lcd", 39 | "msc", 40 | "aes", 41 | "ebi" 42 | ], 43 | "partname_humanreadable": "EFM32 Leopard Gecko series", 44 | "partname_doxygen": "EFM32LG", 45 | "includeguard": "LIBOPENCM3_EFM32LG_NVIC_H" 46 | } 47 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/efm32/lg/opamp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * Copyright (C) 2015 Kuldeep Singh Dhaka 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | /* OpAmp register are in dac.h */ 21 | #include 22 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/efm32/msc.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * Copyright (C) 2015 Kuldeep Singh Dhaka 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #if defined(EFM32LG) 21 | # include 22 | #else 23 | # error "efm32 family not defined." 24 | #endif 25 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/efm32/opamp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * Copyright (C) 2015 Kuldeep Singh Dhaka 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #if defined(EFM32LG) 21 | # include 22 | #else 23 | # error "efm32 family not defined." 24 | #endif 25 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/efm32/prs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * Copyright (C) 2015 Kuldeep Singh Dhaka 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #if defined(EFM32LG) 21 | # include 22 | #else 23 | # error "efm32 family not defined." 24 | #endif 25 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/efm32/rmu.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * Copyright (C) 2015 Kuldeep Singh Dhaka 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #if defined(EFM32LG) 21 | # include 22 | #else 23 | # error "efm32 family not defined." 24 | #endif 25 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/efm32/rtc.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * Copyright (C) 2015 Kuldeep Singh Dhaka 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #if defined(EFM32LG) 21 | # include 22 | #else 23 | # error "efm32 family not defined." 24 | #endif 25 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/efm32/tg/doc-efm32tg.h: -------------------------------------------------------------------------------- 1 | /** @mainpage libopencm3 EFM32 Tiny Gecko 2 | 3 | @version 1.0.0 4 | 5 | @date 4 March 2013 6 | 7 | API documentation for Energy Micro EFM32 Tiny Gecko Cortex M3 series. 8 | 9 | LGPL License Terms @ref lgpl_license 10 | */ 11 | 12 | /** @defgroup EFM32TG EFM32 TinyGecko 13 | Libraries for Energy Micro EFM32 Tiny Gecko series. 14 | 15 | @version 1.0.0 16 | 17 | @date 4 March 2013 18 | 19 | LGPL License Terms @ref lgpl_license 20 | */ 21 | 22 | /** @defgroup EFM32TG_defines EFM32 Tiny Gecko Defines 23 | 24 | @brief Defined Constants and Types for the Energy Micro EFM32 Tiny Gecko series 25 | 26 | @version 1.0.0 27 | 28 | @date 4 March 2013 29 | 30 | LGPL License Terms @ref lgpl_license 31 | */ 32 | 33 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/efm32/tg/irq.json: -------------------------------------------------------------------------------- 1 | { 2 | "_source": "The names and sequence are taken from d0034_efm32tg_reference_manual.pdf table 4.1.", 3 | "irqs": [ 4 | "dma", 5 | "gpio_even", 6 | "timer0", 7 | "usart0_rx", 8 | "usart0_tx", 9 | "acmp01", 10 | "adc0", 11 | "dac0", 12 | "i2c0", 13 | "gpio_odd", 14 | "timer1", 15 | "usart1_rx", 16 | "usart1_tx", 17 | "lesense", 18 | "leuart0", 19 | "letimer0", 20 | "pcnt0", 21 | "rtc", 22 | "cmu", 23 | "vcmp", 24 | "lcd", 25 | "msc", 26 | "aes" 27 | ], 28 | "partname_humanreadable": "EFM32 Tiny Gecko series", 29 | "partname_doxygen": "EFM32TG", 30 | "includeguard": "LIBOPENCM3_EFM32TG_NVIC_H" 31 | } 32 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/efm32/timer.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * Copyright (C) 2015 Kuldeep Singh Dhaka 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #if defined(EFM32LG) 21 | # include 22 | #else 23 | # error "efm32 family not defined." 24 | #endif 25 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/efm32/uart.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * Copyright (C) 2015 Kuldeep Singh Dhaka 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #if defined(EFM32LG) 21 | # include 22 | #else 23 | # error "efm32 family not defined." 24 | #endif 25 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/efm32/usart.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * Copyright (C) 2015 Kuldeep Singh Dhaka 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #if defined(EFM32LG) 21 | # include 22 | #else 23 | # error "efm32 family not defined." 24 | #endif 25 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/efm32/usb.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * Copyright (C) 2015 Kuldeep Singh Dhaka 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #if defined(EFM32LG) 21 | # include 22 | #else 23 | # error "efm32 family not defined." 24 | #endif 25 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/efm32/wdog.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * Copyright (C) 2015 Kuldeep Singh Dhaka 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #el defined(EFM32LG) 21 | # include 22 | #else 23 | # error "efm32 family not defined." 24 | #endif 25 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/license.dox: -------------------------------------------------------------------------------- 1 | /** @page lgpl_license libopencm3 License 2 | 3 | libopencm3 is free software: you can redistribute it and/or modify 4 | it under the terms of the GNU Lesser General Public License as published by the Free 5 | Software Foundation, either version 3 of the License, or (at your option) any 6 | later version. 7 | 8 | libopencm3 is distributed in the hope that it will be useful, but WITHOUT ANY 9 | WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 10 | PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 11 | 12 | You should have received a copy of the GNU Lesser General Public License along with this 13 | program. If not, see . 14 | 15 | */ 16 | 17 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/lm3s/doc-lm3s.h: -------------------------------------------------------------------------------- 1 | /** @mainpage libopencm3 LM3S 2 | 3 | @version 1.0.0 4 | 5 | @date 14 September 2012 6 | 7 | API documentation for TI Stellaris LM3S Cortex M3 series. 8 | 9 | LGPL License Terms @ref lgpl_license 10 | */ 11 | 12 | /** @defgroup LM3Sxx LM3S 13 | Libraries for TI Stellaris LM3S series. 14 | 15 | @version 1.0.0 16 | 17 | @date 7 September 2012 18 | 19 | LGPL License Terms @ref lgpl_license 20 | */ 21 | 22 | /** @defgroup LM3Sxx_defines LM3S Defines 23 | 24 | @brief Defined Constants and Types for the LM3S series 25 | 26 | @version 1.0.0 27 | 28 | @date 14 September 2012 29 | 30 | LGPL License Terms @ref lgpl_license 31 | */ 32 | 33 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/lm4f/doc-lm4f.h: -------------------------------------------------------------------------------- 1 | /** @mainpage libopencm3 LM4F 2 | 3 | @version 1.0.0 4 | 5 | @date 22 November 2012 6 | 7 | API documentation for TI Stellaris LM4F Cortex M4F series. 8 | 9 | LGPL License Terms @ref lgpl_license 10 | */ 11 | 12 | /** @defgroup LM4Fxx LM4F 13 | Libraries for TI Stellaris LM4F series. 14 | 15 | @version 1.0.0 16 | 17 | @date 22 November 2012 18 | 19 | LGPL License Terms @ref lgpl_license 20 | */ 21 | 22 | /** @defgroup LM4Fxx_defines LM4F Defines 23 | 24 | @brief Defined Constants and Types for the LM4F series 25 | 26 | @version 1.0.0 27 | 28 | @date 22 November 2012 29 | 30 | LGPL License Terms @ref lgpl_license 31 | */ 32 | 33 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/lpc13xx/doc-lpc13xx.h: -------------------------------------------------------------------------------- 1 | /** @mainpage libopencm3 LPC13xx 2 | 3 | @version 1.0.0 4 | 5 | @date 14 September 2012 6 | 7 | API documentation for NXP Semiconductors LPC13xx Cortex M3 series. 8 | 9 | LGPL License Terms @ref lgpl_license 10 | */ 11 | 12 | /** @defgroup LPC13xx LPC13xx 13 | Libraries for NXP Semiconductors LPC13xx series. 14 | 15 | @version 1.0.0 16 | 17 | @date 14 September 2012 18 | 19 | LGPL License Terms @ref lgpl_license 20 | */ 21 | 22 | /** @defgroup LPC13xx_defines LPC13xx Defines 23 | 24 | @brief Defined Constants and Types for the LPC13xx series 25 | 26 | @version 1.0.0 27 | 28 | @date 14 September 2012 29 | 30 | LGPL License Terms @ref lgpl_license 31 | */ 32 | 33 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/lpc17xx/doc-lpc17xx.h: -------------------------------------------------------------------------------- 1 | /** @mainpage libopencm3 LPC17xx 2 | 3 | @version 1.0.0 4 | 5 | @date 14 September 2012 6 | 7 | API documentation for NXP Semiconductors LPC17xx Cortex M3 series. 8 | 9 | LGPL License Terms @ref lgpl_license 10 | */ 11 | 12 | /** @defgroup LPC17xx LPC17xx 13 | Libraries for NXP Semiconductors LPC17xx series. 14 | 15 | @version 1.0.0 16 | 17 | @date 14 September 2012 18 | 19 | LGPL License Terms @ref lgpl_license 20 | */ 21 | 22 | /** @defgroup LPC17xx_defines LPC17xx Defines 23 | 24 | @brief Defined Constants and Types for the LPC17xx series 25 | 26 | @version 1.0.0 27 | 28 | @date 14 September 2012 29 | 30 | LGPL License Terms @ref lgpl_license 31 | */ 32 | 33 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/lpc17xx/irq.json: -------------------------------------------------------------------------------- 1 | { 2 | "irqs": { 3 | "0": "wdt", 4 | "1": "timer0", 5 | "2": "timer1", 6 | "3": "timer2", 7 | "4": "timer3", 8 | "5": "uart0", 9 | "6": "uart1", 10 | "7": "uart2", 11 | "8": "uart3", 12 | "9": "pwm", 13 | "10": "i2c0", 14 | "11": "i2c1", 15 | "12": "i2c2", 16 | "13": "spi", 17 | "14": "ssp0", 18 | "15": "ssp1", 19 | "16": "pll0", 20 | "17": "rtc", 21 | "18": "eint0", 22 | "19": "eint1", 23 | "20": "eint2", 24 | "21": "eint3", 25 | "22": "adc", 26 | "23": "bod", 27 | "24": "usb", 28 | "25": "can", 29 | "26": "gpdma", 30 | "27": "i2s", 31 | "28": "ethernet", 32 | "29": "rit", 33 | "30": "motor_pwm", 34 | "31": "qei", 35 | "32": "pll1", 36 | "33": "usb_act", 37 | "34": "can_act" 38 | }, 39 | "partname_humanreadable": "LPC 17xx series", 40 | "partname_doxygen": "LPC17xx", 41 | "includeguard": "LIBOPENCM3_LPC17xx_NVIC_H" 42 | } -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/lpc43xx/doc-lpc43xx.h: -------------------------------------------------------------------------------- 1 | /** @mainpage libopencm3 LPC43xx 2 | 3 | @version 1.0.0 4 | 5 | @date 14 September 2012 6 | 7 | API documentation for NXP Semiconductors LPC43xx Cortex M3 series. 8 | 9 | LGPL License Terms @ref lgpl_license 10 | */ 11 | 12 | /** @defgroup LPC43xx LPC43xx 13 | Libraries for NXP Semiconductors LPC43xx series. 14 | 15 | @version 1.0.0 16 | 17 | @date 14 September 2012 18 | 19 | LGPL License Terms @ref lgpl_license 20 | */ 21 | 22 | /** @defgroup LPC43xx_defines LPC43xx Defines 23 | 24 | @brief Defined Constants and Types for the LPC43xx series 25 | 26 | @version 1.0.0 27 | 28 | @date 14 September 2012 29 | 30 | LGPL License Terms @ref lgpl_license 31 | */ 32 | 33 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/lpc43xx/ipc.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * Copyright (C) 2012 Benjamin Vernoux 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #ifndef LPC43XX_IPC_H 21 | #define LPC43XX_IPC_H 22 | 23 | #include 24 | #include 25 | 26 | void ipc_halt_m0(void); 27 | 28 | void ipc_start_m0(uint32_t cm0_baseaddr); 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/lpc43xx/m0/irq.json: -------------------------------------------------------------------------------- 1 | { 2 | "irqs": { 3 | "0": "rtc", 4 | "1": "m4core", 5 | "2": "dma", 6 | "4": "flasheepromat", 7 | "5": "ethernet", 8 | "6": "sdio", 9 | "7": "lcd", 10 | "8": "usb0", 11 | "9": "usb1", 12 | "10": "sct", 13 | "11": "ritimer_or_wwdt", 14 | "12": "timer0", 15 | "13": "gint1", 16 | "14": "pin_int4", 17 | "15": "timer3", 18 | "16": "mcpwm", 19 | "17": "adc0", 20 | "18": "i2c0_or_irc1", 21 | "19": "sgpio", 22 | "20": "spi_or_dac", 23 | "21": "adc1", 24 | "22": "ssp0_or_ssp1", 25 | "23": "eventrouter", 26 | "24": "usart0", 27 | "25": "uart1", 28 | "26": "usart2_or_c_can1", 29 | "27": "usart3", 30 | "28": "i2s0_or_i2s1", 31 | "29": "c_can0" 32 | }, 33 | "partname_humanreadable": "LPC 43xx series M0 core", 34 | "partname_doxygen": "LPC43xx (M0)", 35 | "includeguard": "LIBOPENCM3_LPC43xx_M0_NVIC_H" 36 | } -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/sam/3a/gpio.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * Copyright (C) 2014 Felix Held 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #ifndef LIBOPENCM3_GPIO_H 21 | #define LIBOPENCM3_GPIO_H 22 | 23 | #include 24 | #include 25 | #include 26 | 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/sam/3a/irq.json: -------------------------------------------------------------------------------- 1 | { 2 | "irqs": [ 3 | "supc", 4 | "rstc", 5 | "rtc", 6 | "rtt", 7 | "wdt", 8 | "pmc", 9 | "eefc0", 10 | "eefc1", 11 | "uart", 12 | "smc_sdramc", 13 | "sdramc", 14 | "pioa", 15 | "piob", 16 | "pioc", 17 | "piod", 18 | "pioe", 19 | "piof", 20 | "usart0", 21 | "usart1", 22 | "usart2", 23 | "usart3", 24 | "hsmci", 25 | "twi0", 26 | "twi1", 27 | "spi0", 28 | "spi1", 29 | "ssc", 30 | "tc0", 31 | "tc1", 32 | "tc2", 33 | "tc3", 34 | "tc4", 35 | "tc5", 36 | "tc6", 37 | "tc7", 38 | "tc8", 39 | "pwm", 40 | "adc", 41 | "dacc", 42 | "dmac", 43 | "uotghs", 44 | "trng", 45 | "reserved0", 46 | "can0", 47 | "can1" 48 | ], 49 | "partname_humanreadable": "Atmel SAM3A series", 50 | "partname_doxygen": "SAM3A", 51 | "includeguard": "LIBOPENCM3_SAM3A_NVIC_H" 52 | } -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/sam/3a/pio.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * Copyright (C) 2014 Felix Held 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #ifndef LIBOPENCM3_PIO_H 21 | #define LIBOPENCM3_PIO_H 22 | 23 | #include 24 | #include 25 | 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/sam/3n/gpio.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * Copyright (C) 2014 Felix Held 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #ifndef LIBOPENCM3_GPIO_H 21 | #define LIBOPENCM3_GPIO_H 22 | 23 | #include 24 | #include 25 | #include 26 | 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/sam/3n/irq.json: -------------------------------------------------------------------------------- 1 | { 2 | "irqs": [ 3 | "supc", 4 | "rstc", 5 | "rtc", 6 | "rtt", 7 | "wdt", 8 | "pmc", 9 | "eefc", 10 | "reserved0", 11 | "uart0", 12 | "uart1", 13 | "reserved1", 14 | "pioa", 15 | "piob", 16 | "pioc", 17 | "usart0", 18 | "usart1", 19 | "reserved2", 20 | "reserved3", 21 | "reserved4", 22 | "twi0", 23 | "twi1", 24 | "spi", 25 | "reserved5", 26 | "tc0", 27 | "tc1", 28 | "tc2", 29 | "tc3", 30 | "tc4", 31 | "tc5", 32 | "adc", 33 | "dacc", 34 | "pwm" 35 | ], 36 | "partname_humanreadable": "Atmel SAM3N series", 37 | "partname_doxygen": "SAM3N", 38 | "includeguard": "LIBOPENCM3_SAM3N_NVIC_H" 39 | } -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/sam/3n/pio.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * Copyright (C) 2014 Felix Held 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #ifndef LIBOPENCM3_PIO_H 21 | #define LIBOPENCM3_PIO_H 22 | 23 | #include 24 | #include 25 | 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/sam/3s/gpio.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * Copyright (C) 2014 Felix Held 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #ifndef LIBOPENCM3_GPIO_H 21 | #define LIBOPENCM3_GPIO_H 22 | 23 | #include 24 | #include 25 | #include 26 | 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/sam/3s/irq.json: -------------------------------------------------------------------------------- 1 | { 2 | "irqs": [ 3 | "supc", 4 | "rstc", 5 | "rtc", 6 | "rtt", 7 | "wdt", 8 | "pmc", 9 | "eefc", 10 | "reserved0", 11 | "uart0", 12 | "uart1", 13 | "smc", 14 | "pioa", 15 | "piob", 16 | "pioc", 17 | "usart0", 18 | "usart1", 19 | "usart2", 20 | "reserved1", 21 | "hsmci", 22 | "twi0", 23 | "twi1", 24 | "spi", 25 | "ssc", 26 | "tc0", 27 | "tc1", 28 | "tc2", 29 | "tc3", 30 | "tc4", 31 | "tc5", 32 | "adc", 33 | "dacc", 34 | "pwm", 35 | "crccu", 36 | "acc", 37 | "udp" 38 | ], 39 | "partname_humanreadable": "Atmel SAM3S series", 40 | "partname_doxygen": "SAM3S", 41 | "includeguard": "LIBOPENCM3_SAM3S_NVIC_H" 42 | } -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/sam/3u/gpio.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * Copyright (C) 2014 Felix Held 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #ifndef LIBOPENCM3_GPIO_H 21 | #define LIBOPENCM3_GPIO_H 22 | 23 | #include 24 | #include 25 | #include 26 | 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/sam/3u/irq.json: -------------------------------------------------------------------------------- 1 | { 2 | "irqs": [ 3 | "supc", 4 | "rstc", 5 | "rtc", 6 | "rtt", 7 | "wdt", 8 | "pmc", 9 | "eefc0", 10 | "eefc1", 11 | "uart", 12 | "smc", 13 | "pioa", 14 | "piob", 15 | "pioc", 16 | "usart0", 17 | "usart1", 18 | "usart2", 19 | "usart3", 20 | "hsmci", 21 | "twi0", 22 | "twi1", 23 | "spi", 24 | "ssc", 25 | "tc0", 26 | "tc1", 27 | "tc2", 28 | "pwm", 29 | "adc12b", 30 | "adc", 31 | "dmac", 32 | "udphs" 33 | ], 34 | "partname_humanreadable": "Atmel SAM3U series", 35 | "partname_doxygen": "SAM3U", 36 | "includeguard": "LIBOPENCM3_SAM3U_NVIC_H" 37 | } -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/sam/3u/pio.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * Copyright (C) 2014 Felix Held 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #ifndef LIBOPENCM3_PIO_H 21 | #define LIBOPENCM3_PIO_H 22 | 23 | #include 24 | #include 25 | 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/sam/3x/gpio.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * Copyright (C) 2014 Felix Held 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #ifndef LIBOPENCM3_GPIO_H 21 | #define LIBOPENCM3_GPIO_H 22 | 23 | #include 24 | #include 25 | #include 26 | 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/sam/3x/irq.json: -------------------------------------------------------------------------------- 1 | { 2 | "irqs": [ 3 | "supc", 4 | "rstc", 5 | "rtc", 6 | "rtt", 7 | "wdt", 8 | "pmc", 9 | "eefc0", 10 | "eefc1", 11 | "uart", 12 | "smc_sdramc", 13 | "sdramc", 14 | "pioa", 15 | "piob", 16 | "pioc", 17 | "piod", 18 | "pioe", 19 | "piof", 20 | "usart0", 21 | "usart1", 22 | "usart2", 23 | "usart3", 24 | "hsmci", 25 | "twi0", 26 | "twi1", 27 | "spi0", 28 | "spi1", 29 | "ssc", 30 | "tc0", 31 | "tc1", 32 | "tc2", 33 | "tc3", 34 | "tc4", 35 | "tc5", 36 | "tc6", 37 | "tc7", 38 | "tc8", 39 | "pwm", 40 | "adc", 41 | "dacc", 42 | "dmac", 43 | "uotghs", 44 | "trng", 45 | "emac", 46 | "can0", 47 | "can1" 48 | ], 49 | "partname_humanreadable": "Atmel SAM3X series", 50 | "partname_doxygen": "SAM3X", 51 | "includeguard": "LIBOPENCM3_SAM3X_NVIC_H" 52 | } -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/sam/3x/pio.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * Copyright (C) 2014 Felix Held 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #ifndef LIBOPENCM3_PIO_H 21 | #define LIBOPENCM3_PIO_H 22 | 23 | #include 24 | #include 25 | 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/sam/d/irq.json: -------------------------------------------------------------------------------- 1 | { 2 | "irqs": [ 3 | "pm", 4 | "sysctrl", 5 | "wdt", 6 | "rtc", 7 | "eic", 8 | "nvmctrl", 9 | "dmac", 10 | "reserved1", 11 | "evsys", 12 | "sercom0", 13 | "sercom1", 14 | "sercom2", 15 | "tcc0", 16 | "tc1", 17 | "tc2", 18 | "adc", 19 | "ac", 20 | "dac", 21 | "ptc" 22 | ], 23 | "partname_humanreadable": "Atmel SAMD series", 24 | "partname_doxygen": "SAMD", 25 | "includeguard": "LIBOPENCM3_SAMD_NVIC_H" 26 | } -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/sam/pmc.h: -------------------------------------------------------------------------------- 1 | /* This provides unification of code over SAM subfamilies */ 2 | 3 | /* 4 | * This file is part of the libopencm3 project. 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #if defined(SAM3A) 21 | # include 22 | #elif defined(SAM3N) 23 | # include 24 | #elif defined(SAM3S) 25 | # include 26 | #elif defined(SAM3U) 27 | # include 28 | #elif defined(SAM3X) 29 | # include 30 | #else 31 | # error "sam family not defined." 32 | #endif 33 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/cec.h: -------------------------------------------------------------------------------- 1 | /* This provides unification of code over STM32 subfamilies */ 2 | 3 | /* 4 | * This file is part of the libopencm3 project. 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #include 21 | #include 22 | 23 | #if defined(STM32F0) 24 | # include 25 | #else 26 | # error "stm32 family not defined." 27 | #endif 28 | 29 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/comparator.h: -------------------------------------------------------------------------------- 1 | /* This provides unification of code over STM32 subfamilies */ 2 | 3 | /* 4 | * This file is part of the libopencm3 project. 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #include 21 | #include 22 | 23 | #if defined(STM32F0) 24 | # include 25 | #else 26 | # error "stm32 family not defined." 27 | #endif 28 | 29 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/crs.h: -------------------------------------------------------------------------------- 1 | /* This provides unification of code over STM32 subfamilies */ 2 | 3 | /* 4 | * This file is part of the libopencm3 project. 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #include 21 | #include 22 | 23 | #if defined(STM32F0) 24 | # include 25 | #elif defined(STM32L0) 26 | # include 27 | #else 28 | # error "stm32 family not defined or not supported for this peripheral" 29 | #endif 30 | 31 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/crypto.h: -------------------------------------------------------------------------------- 1 | /* This provides unification of code over STM32 subfamilies */ 2 | 3 | /* 4 | * This file is part of the libopencm3 project. 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #include 21 | #include 22 | 23 | #if defined(STM32F2) 24 | # include 25 | #elif defined(STM32F4) 26 | # include 27 | #else 28 | # error "CRYPTO processor is supported only" \ 29 | "in stm32f2xx, stm32f41xx, stm32f42xx and stm32f43xx family." 30 | #endif 31 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/dma2d.h: -------------------------------------------------------------------------------- 1 | /* This provides unification of code over STM32 subfamilies */ 2 | 3 | /* 4 | * This file is part of the libopencm3 project. 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #include 21 | #include 22 | 23 | #if defined(STM32F4) 24 | # include 25 | #else 26 | # error "dma2d.h not available for this family." 27 | #endif 28 | 29 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/dsi.h: -------------------------------------------------------------------------------- 1 | /* This provides unification of code over STM32 subfamilies */ 2 | 3 | /* 4 | * This file is part of the libopencm3 project. 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #if defined(STM32F4) 21 | # include 22 | #else 23 | # error "dsi.h not available for this family." 24 | #endif 25 | 26 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f0/dma.h: -------------------------------------------------------------------------------- 1 | /** @defgroup dma_defines DMA Defines 2 | * 3 | * @ingroup STM32F0xx_defines 4 | * 5 | * @brief Defined Constants and Types for the STM32F0xx DMA Controller 6 | * 7 | * @version 1.0.0 8 | * 9 | * @date 10 July 2013 10 | * 11 | * LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_DMA_H 32 | #define LIBOPENCM3_DMA_H 33 | 34 | #include 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f0/doc-stm32f0.h: -------------------------------------------------------------------------------- 1 | /** @mainpage libopencm3 STM32F0 2 | * 3 | * @version 1.0.0 4 | * 5 | * @date 11 July 2013 6 | * 7 | * API documentation for ST Microelectronics STM32F0 Cortex M0 series. 8 | * 9 | * LGPL License Terms @ref lgpl_license 10 | */ 11 | 12 | /** @defgroup STM32F0xx STM32F0xx 13 | * Libraries for ST Microelectronics STM32F0xx series. 14 | * 15 | * @version 1.0.0 16 | * 17 | * @date 11 July 2013 18 | * 19 | * LGPL License Terms @ref lgpl_license 20 | */ 21 | 22 | /** @defgroup STM32F0xx_defines STM32F0xx Defines 23 | * 24 | * @brief Defined Constants and Types for the STM32F0xx series 25 | * 26 | * @version 1.0.0 27 | * 28 | * @date 11 July 2013 29 | * 30 | * LGPL License Terms @ref lgpl_license 31 | */ 32 | 33 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f0/i2c.h: -------------------------------------------------------------------------------- 1 | /** @defgroup i2c_defines I2C Defines 2 | * 3 | * @brief Defined Constants and Types for the STM32F0xx I2C 4 | * 5 | * @ingroup STM32F0xx_defines 6 | * 7 | * @version 1.0.0 8 | * 9 | * @date 11 July 2013 10 | * 11 | * LGPL License Terms @ref lgpl_license 12 | */ 13 | /* 14 | * This file is part of the libopencm3 project. 15 | * 16 | * Copyright (C) 2010 Thomas Otto 17 | * 18 | * This library is free software: you can redistribute it and/or modify 19 | * it under the terms of the GNU Lesser General Public License as published by 20 | * the Free Software Foundation, either version 3 of the License, or 21 | * (at your option) any later version. 22 | * 23 | * This library is distributed in the hope that it will be useful, 24 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 25 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 26 | * GNU Lesser General Public License for more details. 27 | * 28 | * You should have received a copy of the GNU Lesser General Public License 29 | * along with this library. If not, see . 30 | */ 31 | 32 | #ifndef LIBOPENCM3_I2C_H 33 | #define LIBOPENCM3_I2C_H 34 | 35 | #include 36 | 37 | #endif 38 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f0/irq.json: -------------------------------------------------------------------------------- 1 | { 2 | "irqs": [ 3 | "wwdg", 4 | "pvd", 5 | "rtc", 6 | "flash", 7 | "rcc", 8 | "exti0_1", 9 | "exti2_3", 10 | "exti4_15", 11 | "tsc", 12 | "dma1_channel1", 13 | "dma1_channel2_3", 14 | "dma1_channel4_5", 15 | "adc_comp", 16 | "tim1_brk_up_trg_com", 17 | "tim1_cc", 18 | "tim2", 19 | "tim3", 20 | "tim6_dac", 21 | "tim7", 22 | "tim14", 23 | "tim15", 24 | "tim16", 25 | "tim17", 26 | "i2c1", 27 | "i2c2", 28 | "spi1", 29 | "spi2", 30 | "usart1", 31 | "usart2", 32 | "usart3_4", 33 | "cec_can", 34 | "usb" 35 | ], 36 | "partname_humanreadable": "STM32 F0 series", 37 | "partname_doxygen": "STM32F0", 38 | "includeguard": "LIBOPENCM3_STM32_F0_NVIC_H" 39 | } -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f0/rtc.h: -------------------------------------------------------------------------------- 1 | /** @defgroup rtc_defines RTC Defines 2 | * 3 | * @brief Defined Constants and Types for the STM32F0xx RTC 4 | * 5 | * @ingroup STM32F0xx_defines 6 | * 7 | * @version 1.0.0 8 | * 9 | * @date 5 December 2012 10 | * 11 | * LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_RTC_H 32 | #define LIBOPENCM3_RTC_H 33 | 34 | #include 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f0/spi.h: -------------------------------------------------------------------------------- 1 | /** @defgroup spi_defines SPI Defines 2 | * 3 | * @brief Defined Constants and Types for the STM32F0xx SPI 4 | * 5 | * @ingroup STM32F0xx_defines 6 | * 7 | * @version 1.0.0 8 | * 9 | * @date 11 July 2013 10 | * 11 | * LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_SPI_H 32 | #define LIBOPENCM3_SPI_H 33 | 34 | #include 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f0/st_usbfs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * This library is free software: you can redistribute it and/or modify 5 | * it under the terms of the GNU Lesser General Public License as published by 6 | * the Free Software Foundation, either version 3 of the License, or 7 | * (at your option) any later version. 8 | * 9 | * This library is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | * GNU Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public License 15 | * along with this library. If not, see . 16 | */ 17 | /* THIS FILE SHOULD NOT BE INCLUDED DIRECTLY ! 18 | * Use top-level 19 | */ 20 | 21 | #ifndef LIBOPENCM3_ST_USBFS_H 22 | # error Do not include directly ! 23 | #else 24 | 25 | #include 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f0/timer.h: -------------------------------------------------------------------------------- 1 | /** @defgroup timer_defines Timers Defines 2 | * 3 | * @brief Defined Constants and Types for the STM32F0xx Timers 4 | * 5 | * @ingroup STM32F0xx_defines 6 | * 7 | * @version 1.0.0 8 | * 9 | * @date 11 July 2013 10 | * 11 | * LGPL License Terms @ref lgpl_license 12 | */ 13 | /* 14 | * This file is part of the libopencm3 project. 15 | * 16 | * Copyright (C) 2013 Frantisek Burian 17 | * 18 | * This library is free software: you can redistribute it and/or modify 19 | * it under the terms of the GNU Lesser General Public License as published by 20 | * the Free Software Foundation, either version 3 of the License, or 21 | * (at your option) any later version. 22 | * 23 | * This library is distributed in the hope that it will be useful, 24 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 25 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 26 | * GNU Lesser General Public License for more details. 27 | * 28 | * You should have received a copy of the GNU Lesser General Public License 29 | * along with this library. If not, see . 30 | */ 31 | 32 | #ifndef LIBOPENCM3_TIMER_H 33 | #define LIBOPENCM3_TIMER_H 34 | 35 | #include 36 | 37 | #endif 38 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f0/usart.h: -------------------------------------------------------------------------------- 1 | /** @defgroup usart_defines USART Defines 2 | * 3 | * @brief Defined Constants and Types for the STM32F0xx USART 4 | * 5 | * @ingroup STM32F0xx_defines 6 | * 7 | * @version 1.0.0 8 | * 9 | * @date 1 Jun 2016 10 | * 11 | * LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_USART_H 32 | #define LIBOPENCM3_USART_H 33 | 34 | #include 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f1/crc.h: -------------------------------------------------------------------------------- 1 | /** @defgroup crc_defines CRC Defines 2 | 3 | @brief libopencm3 Defined Constants and Types for the STM32F1xx CRC 4 | Generator 5 | 6 | @ingroup STM32F1xx_defines 7 | 8 | @version 1.0.0 9 | 10 | @date 18 August 2012 11 | 12 | LGPL License Terms @ref lgpl_license 13 | */ 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * Copyright (C) 2010 Thomas Otto 18 | * 19 | * This library is free software: you can redistribute it and/or modify 20 | * it under the terms of the GNU Lesser General Public License as published by 21 | * the Free Software Foundation, either version 3 of the License, or 22 | * (at your option) any later version. 23 | * 24 | * This library is distributed in the hope that it will be useful, 25 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 26 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 27 | * GNU Lesser General Public License for more details. 28 | * 29 | * You should have received a copy of the GNU Lesser General Public License 30 | * along with this library. If not, see . 31 | */ 32 | 33 | #ifndef LIBOPENCM3_CRC_H 34 | #define LIBOPENCM3_CRC_H 35 | 36 | #include 37 | 38 | #endif 39 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f1/dac.h: -------------------------------------------------------------------------------- 1 | /** @defgroup dac_defines DAC Defines 2 | 3 | @brief Defined Constants and Types for the STM32F1xx DAC 4 | 5 | @ingroup STM32F1xx_defines 6 | 7 | @version 1.0.0 8 | 9 | @date 5 December 2012 10 | 11 | LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_DAC_H 32 | #define LIBOPENCM3_DAC_H 33 | 34 | #include 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f1/dma.h: -------------------------------------------------------------------------------- 1 | /** @defgroup dma_defines DMA Defines 2 | 3 | @ingroup STM32F1xx_defines 4 | 5 | @brief Defined Constants and Types for the STM32F1xx DMA Controller 6 | 7 | @version 1.0.0 8 | 9 | @date 30 November 2012 10 | 11 | LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_DMA_H 32 | #define LIBOPENCM3_DMA_H 33 | 34 | #include 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f1/doc-stm32f1.h: -------------------------------------------------------------------------------- 1 | /** @mainpage libopencm3 STM32F1 2 | 3 | @version 1.0.0 4 | 5 | @date 7 September 2012 6 | 7 | API documentation for ST Microelectronics STM32F1 Cortex M3 series. 8 | 9 | LGPL License Terms @ref lgpl_license 10 | */ 11 | 12 | /** @defgroup STM32F1xx STM32F1xx 13 | Libraries for ST Microelectronics STM32F1xx series. 14 | 15 | @version 1.0.0 16 | 17 | @date 7 September 2012 18 | 19 | LGPL License Terms @ref lgpl_license 20 | */ 21 | 22 | /** @defgroup STM32F1xx_defines STM32F1xx Defines 23 | 24 | @brief Defined Constants and Types for the STM32F1xx series 25 | 26 | @version 1.0.0 27 | 28 | @date 7 September 2012 29 | 30 | LGPL License Terms @ref lgpl_license 31 | */ 32 | 33 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f1/i2c.h: -------------------------------------------------------------------------------- 1 | /** @defgroup i2c_defines I2C Defines 2 | 3 | @brief Defined Constants and Types for the STM32F1xx I2C 4 | 5 | @ingroup STM32F1xx_defines 6 | 7 | @version 1.0.0 8 | 9 | @date 12 October 2012 10 | 11 | LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_I2C_H 32 | #define LIBOPENCM3_I2C_H 33 | 34 | #include 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f1/iwdg.h: -------------------------------------------------------------------------------- 1 | /** @defgroup iwdg_defines IWDG Defines 2 | 3 | @brief Defined Constants and Types for the STM32F1xx Independent Watchdog 4 | Timer 5 | 6 | @ingroup STM32F1xx_defines 7 | 8 | @version 1.0.0 9 | 10 | @date 18 August 2012 11 | 12 | LGPL License Terms @ref lgpl_license 13 | */ 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * Copyright (C) 2010 Thomas Otto 18 | * 19 | * This library is free software: you can redistribute it and/or modify 20 | * it under the terms of the GNU Lesser General Public License as published by 21 | * the Free Software Foundation, either version 3 of the License, or 22 | * (at your option) any later version. 23 | * 24 | * This library is distributed in the hope that it will be useful, 25 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 26 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 27 | * GNU Lesser General Public License for more details. 28 | * 29 | * You should have received a copy of the GNU Lesser General Public License 30 | * along with this library. If not, see . 31 | */ 32 | 33 | #ifndef LIBOPENCM3_IWDG_H 34 | #define LIBOPENCM3_IWDG_H 35 | 36 | #include 37 | 38 | #endif 39 | 40 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f1/pwr.h: -------------------------------------------------------------------------------- 1 | /** @defgroup pwr_defines PWR Defines 2 | 3 | @brief Defined Constants and Types for the STM32F1xx PWR Control 4 | 5 | @ingroup STM32F1xx_defines 6 | 7 | @version 1.0.0 8 | 9 | @date 5 December 2012 10 | 11 | LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_PWR_H 32 | #define LIBOPENCM3_PWR_H 33 | 34 | #include 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f1/spi.h: -------------------------------------------------------------------------------- 1 | /** @defgroup spi_defines SPI Defines 2 | 3 | @brief Defined Constants and Types for the STM32F1xx SPI 4 | 5 | @ingroup STM32F1xx_defines 6 | 7 | @version 1.0.0 8 | 9 | @date 5 December 2012 10 | 11 | LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_SPI_H 32 | #define LIBOPENCM3_SPI_H 33 | 34 | #include 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f1/st_usbfs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * This library is free software: you can redistribute it and/or modify 5 | * it under the terms of the GNU Lesser General Public License as published by 6 | * the Free Software Foundation, either version 3 of the License, or 7 | * (at your option) any later version. 8 | * 9 | * This library is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | * GNU Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public License 15 | * along with this library. If not, see . 16 | */ 17 | /* THIS FILE SHOULD NOT BE INCLUDED DIRECTLY ! 18 | * Use top-level 19 | */ 20 | 21 | #ifndef LIBOPENCM3_ST_USBFS_H 22 | # error Do not include directly ! 23 | #else 24 | 25 | #include 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f1/usart.h: -------------------------------------------------------------------------------- 1 | /** @defgroup usart_defines USART Defines 2 | 3 | @brief Defined Constants and Types for the STM32F1xx USART 4 | 5 | @ingroup STM32F1xx_defines 6 | 7 | @version 1.0.0 8 | 9 | @date 5 December 2012 10 | 11 | LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_USART_H 32 | #define LIBOPENCM3_USART_H 33 | 34 | #include 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f2/crc.h: -------------------------------------------------------------------------------- 1 | /** @defgroup crc_defines CRC Defines 2 | 3 | @brief libopencm3 Defined Constants and Types for the STM32F2xx CRC 4 | Generator 5 | 6 | @ingroup STM32F2xx_defines 7 | 8 | @version 1.0.0 9 | 10 | @date 18 August 2012 11 | 12 | LGPL License Terms @ref lgpl_license 13 | */ 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * Copyright (C) 2010 Thomas Otto 18 | * 19 | * This library is free software: you can redistribute it and/or modify 20 | * it under the terms of the GNU Lesser General Public License as published by 21 | * the Free Software Foundation, either version 3 of the License, or 22 | * (at your option) any later version. 23 | * 24 | * This library is distributed in the hope that it will be useful, 25 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 26 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 27 | * GNU Lesser General Public License for more details. 28 | * 29 | * You should have received a copy of the GNU Lesser General Public License 30 | * along with this library. If not, see . 31 | */ 32 | 33 | #ifndef LIBOPENCM3_CRC_H 34 | #define LIBOPENCM3_CRC_H 35 | 36 | #include 37 | 38 | #endif 39 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f2/crypto.h: -------------------------------------------------------------------------------- 1 | /** @defgroup crypto_defines CRYPTO Defines 2 | * 3 | * @brief Defined Constants and Types for the STM32F2xx CRYP Controller 4 | * 5 | * @ingroup STM32F2xx_defines 6 | * 7 | * @version 1.0.0 8 | * 9 | * @date 17 Jun 2013 10 | * 11 | * LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_CRYPTO_H 32 | #define LIBOPENCM3_CRYPTO_H 33 | 34 | #include 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f2/dac.h: -------------------------------------------------------------------------------- 1 | /** @defgroup dac_defines DAC Defines 2 | 3 | @brief Defined Constants and Types for the STM32F2xx DAC 4 | 5 | @ingroup STM32F2xx_defines 6 | 7 | @version 1.0.0 8 | 9 | @date 5 December 2012 10 | 11 | LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_DAC_H 32 | #define LIBOPENCM3_DAC_H 33 | 34 | #include 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f2/dma.h: -------------------------------------------------------------------------------- 1 | /** @defgroup dma_defines DMA Defines 2 | 3 | @ingroup STM32F2xx_defines 4 | 5 | @brief Defined Constants and Types for the STM32F2xx DMA Controller 6 | 7 | @version 1.0.0 8 | 9 | @date 18 October 2012 10 | 11 | LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_DMA_H 32 | #define LIBOPENCM3_DMA_H 33 | 34 | #include 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f2/doc-stm32f2.h: -------------------------------------------------------------------------------- 1 | /** @mainpage libopencm3 STM32F2 2 | 3 | @version 1.0.0 4 | 5 | @date 14 September 2012 6 | 7 | API documentation for ST Microelectronics STM32F2 Cortex M3 series. 8 | 9 | LGPL License Terms @ref lgpl_license 10 | */ 11 | 12 | 13 | /** @defgroup STM32F2xx STM32F2xx 14 | Libraries for ST Microelectronics STM32F2xx series. 15 | 16 | @version 1.0.0 17 | 18 | @date 14 September 2012 19 | 20 | LGPL License Terms @ref lgpl_license 21 | */ 22 | 23 | /** @defgroup STM32F2xx_defines STM32F2xx Defines 24 | 25 | @brief Defined Constants and Types for the STM32F2xx series 26 | 27 | @version 1.0.0 28 | 29 | @date 14 September 2012 30 | 31 | LGPL License Terms @ref lgpl_license 32 | */ 33 | 34 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f2/flash.h: -------------------------------------------------------------------------------- 1 | /** @defgroup flash_defines FLASH Defines 2 | * 3 | * @ingroup STM32F2xx_defines 4 | * 5 | * @brief Defined Constants and Types for the STM32F2xx FLASH Memory 6 | * 7 | * @version 1.0.0 8 | * 9 | * @date 14 January 2014 10 | * 11 | * LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_FLASH_H 32 | #define LIBOPENCM3_FLASH_H 33 | 34 | #include 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f2/gpio.h: -------------------------------------------------------------------------------- 1 | /** @defgroup gpio_defines GPIO Defines 2 | 3 | @brief Defined Constants and Types for the STM32F2xx General Purpose I/O 4 | 5 | @ingroup STM32F2xx_defines 6 | 7 | @version 1.0.0 8 | 9 | @date 1 July 2012 10 | 11 | LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_GPIO_H 32 | #define LIBOPENCM3_GPIO_H 33 | 34 | #include 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f2/hash.h: -------------------------------------------------------------------------------- 1 | /** @defgroup hash_defines HASH Defines 2 | 3 | @ingroup STM32F2xx_defines 4 | 5 | @brief Defined Constants and Types for the STM32F2xx HASH Controller 6 | 7 | @version 1.0.0 8 | 9 | @date 31 May 2013 10 | 11 | LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_HASH_H 32 | #define LIBOPENCM3_HASH_H 33 | 34 | #include 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f2/i2c.h: -------------------------------------------------------------------------------- 1 | /** @defgroup i2c_defines I2C Defines 2 | 3 | @brief Defined Constants and Types for the STM32F2xx I2C 4 | 5 | @ingroup STM32F2xx_defines 6 | 7 | @version 1.0.0 8 | 9 | @date 12 October 2012 10 | 11 | LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_I2C_H 32 | #define LIBOPENCM3_I2C_H 33 | 34 | #include 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f2/iwdg.h: -------------------------------------------------------------------------------- 1 | /** @defgroup iwdg_defines IWDG Defines 2 | 3 | @brief Defined Constants and Types for the STM32F2xx Independent Watchdog 4 | Timer 5 | 6 | @ingroup STM32F2xx_defines 7 | 8 | @version 1.0.0 9 | 10 | @date 18 August 2012 11 | 12 | LGPL License Terms @ref lgpl_license 13 | */ 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * Copyright (C) 2010 Thomas Otto 18 | * 19 | * This library is free software: you can redistribute it and/or modify 20 | * it under the terms of the GNU Lesser General Public License as published by 21 | * the Free Software Foundation, either version 3 of the License, or 22 | * (at your option) any later version. 23 | * 24 | * This library is distributed in the hope that it will be useful, 25 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 26 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 27 | * GNU Lesser General Public License for more details. 28 | * 29 | * You should have received a copy of the GNU Lesser General Public License 30 | * along with this library. If not, see . 31 | */ 32 | 33 | #ifndef LIBOPENCM3_IWDG_H 34 | #define LIBOPENCM3_IWDG_H 35 | 36 | #include 37 | 38 | #endif 39 | 40 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f2/rng.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * This library is free software: you can redistribute it and/or modify 5 | * it under the terms of the GNU Lesser General Public License as published by 6 | * the Free Software Foundation, either version 3 of the License, or 7 | * (at your option) any later version. 8 | * 9 | * This library is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | * GNU Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public License 15 | * along with this library. If not, see . 16 | */ 17 | 18 | #ifndef LIBOPENCM3_RNG_H 19 | #define LIBOPENCM3_RNG_H 20 | 21 | #include 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f2/rtc.h: -------------------------------------------------------------------------------- 1 | /** @defgroup rtc_defines RTC Defines 2 | 3 | @brief Defined Constants and Types for the STM32F2xx RTC 4 | 5 | @ingroup STM32F2xx_defines 6 | 7 | @version 1.0.0 8 | 9 | @date 5 December 2012 10 | 11 | LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_RTC_H 32 | #define LIBOPENCM3_RTC_H 33 | 34 | #include 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f2/spi.h: -------------------------------------------------------------------------------- 1 | /** @defgroup spi_defines SPI Defines 2 | 3 | @brief Defined Constants and Types for the STM32F2xx SPI 4 | 5 | @ingroup STM32F2xx_defines 6 | 7 | @version 1.0.0 8 | 9 | @date 5 December 2012 10 | 11 | LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_SPI_H 32 | #define LIBOPENCM3_SPI_H 33 | 34 | #include 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f2/usart.h: -------------------------------------------------------------------------------- 1 | /** @defgroup usart_defines USART Defines 2 | 3 | @brief Defined Constants and Types for the STM32F2xx USART 4 | 5 | @ingroup STM32F2xx_defines 6 | 7 | @version 1.0.0 8 | 9 | @date 5 December 2012 10 | 11 | LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_USART_H 32 | #define LIBOPENCM3_USART_H 33 | 34 | #include 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f3/dac.h: -------------------------------------------------------------------------------- 1 | /** @defgroup dac_defines DAC Defines 2 | * 3 | * @brief Defined Constants and Types for the STM32F3xx DAC 4 | * 5 | * @ingroup STM32F3xx_defines 6 | * 7 | * @version 1.0.0 8 | * 9 | * @date 5 December 2012 10 | * 11 | * LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_DAC_H 32 | #define LIBOPENCM3_DAC_H 33 | 34 | #include 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f3/dma.h: -------------------------------------------------------------------------------- 1 | /** @defgroup dma_defines DMA Defines 2 | * 3 | * @ingroup STM32F3xx_defines 4 | * 5 | * @brief Defined Constants and Types for the STM32F3xx DMA Controller 6 | * 7 | * @version 1.0.0 8 | * 9 | * @date 30 November 2012 10 | * 11 | * LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_DMA_H 32 | #define LIBOPENCM3_DMA_H 33 | 34 | #include 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f3/doc-stm32f3.h: -------------------------------------------------------------------------------- 1 | /** @mainpage libopencm3 STM32F3 2 | * 3 | * @version 1.0.0 4 | * 5 | * @date 11 July 2013 6 | * 7 | * API documentation for ST Microelectronics STM32F3 Cortex M3 series. 8 | * 9 | * LGPL License Terms @ref lgpl_license 10 | */ 11 | 12 | /** @defgroup STM32F3xx STM32F3xx 13 | * Libraries for ST Microelectronics STM32F3xx series. 14 | * 15 | * @version 1.0.0 16 | * 17 | * @date 11 July 2013 18 | * 19 | * LGPL License Terms @ref lgpl_license 20 | */ 21 | 22 | /** @defgroup STM32F3xx_defines STM32F3xx Defines 23 | * 24 | * @brief Defined Constants and Types for the STM32F3xx series 25 | * 26 | * @version 1.0.0 27 | * 28 | * @date 11 July 2013 29 | * 30 | * LGPL License Terms @ref lgpl_license 31 | */ 32 | 33 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f3/gpio.h: -------------------------------------------------------------------------------- 1 | /** @defgroup gpio_defines GPIO Defines 2 | * 3 | * @brief Defined Constants and Types for the STM32F3xx General Purpose 4 | * I/O 5 | * 6 | * @ingroup STM32F3xx_defines 7 | * 8 | * @version 1.0.0 9 | * 10 | * @date 1 July 2012 11 | * 12 | * LGPL License Terms @ref lgpl_license 13 | */ 14 | 15 | /* 16 | * This file is part of the libopencm3 project. 17 | * 18 | * This library is free software: you can redistribute it and/or modify 19 | * it under the terms of the GNU Lesser General Public License as published by 20 | * the Free Software Foundation, either version 3 of the License, or 21 | * (at your option) any later version. 22 | * 23 | * This library is distributed in the hope that it will be useful, 24 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 25 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 26 | * GNU Lesser General Public License for more details. 27 | * 28 | * You should have received a copy of the GNU Lesser General Public License 29 | * along with this library. If not, see . 30 | */ 31 | 32 | #ifndef LIBOPENCM3_GPIO_H 33 | #define LIBOPENCM3_GPIO_H 34 | 35 | #include 36 | 37 | #endif 38 | 39 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f3/i2c.h: -------------------------------------------------------------------------------- 1 | /** @defgroup i2c_defines I2C Defines 2 | * 3 | * @brief Defined Constants and Types for the STM32F3xx I2C 4 | * 5 | * @ingroup STM32F3xx_defines 6 | * 7 | * @version 1.0.0 8 | * 9 | * @date 12 October 2012 10 | * 11 | * LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_I2C_H 32 | #define LIBOPENCM3_I2C_H 33 | 34 | #include 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f3/spi.h: -------------------------------------------------------------------------------- 1 | /** @defgroup spi_defines SPI Defines 2 | * 3 | * @brief Defined Constants and Types for the STM32F3xx SPI 4 | * 5 | * @ingroup STM32F3xx_defines 6 | * 7 | * @version 1.0.0 8 | * 9 | * @date 5 December 2012 10 | * 11 | * LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_SPI_H 32 | #define LIBOPENCM3_SPI_H 33 | 34 | #include 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f3/st_usbfs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * This library is free software: you can redistribute it and/or modify 5 | * it under the terms of the GNU Lesser General Public License as published by 6 | * the Free Software Foundation, either version 3 of the License, or 7 | * (at your option) any later version. 8 | * 9 | * This library is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | * GNU Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public License 15 | * along with this library. If not, see . 16 | */ 17 | /* THIS FILE SHOULD NOT BE INCLUDED DIRECTLY ! 18 | * Use top-level 19 | */ 20 | 21 | #ifndef LIBOPENCM3_ST_USBFS_H 22 | # error Do not include directly ! 23 | #else 24 | 25 | #include 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f4/crc.h: -------------------------------------------------------------------------------- 1 | /** @defgroup crc_defines CRC Defines 2 | 3 | @brief libopencm3 Defined Constants and Types for the STM32F4xx CRC 4 | Generator 5 | 6 | @ingroup STM32F4xx_defines 7 | 8 | @version 1.0.0 9 | 10 | @date 18 August 2012 11 | 12 | LGPL License Terms @ref lgpl_license 13 | */ 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * Copyright (C) 2010 Thomas Otto 18 | * 19 | * This library is free software: you can redistribute it and/or modify 20 | * it under the terms of the GNU Lesser General Public License as published by 21 | * the Free Software Foundation, either version 3 of the License, or 22 | * (at your option) any later version. 23 | * 24 | * This library is distributed in the hope that it will be useful, 25 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 26 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 27 | * GNU Lesser General Public License for more details. 28 | * 29 | * You should have received a copy of the GNU Lesser General Public License 30 | * along with this library. If not, see . 31 | */ 32 | 33 | #ifndef LIBOPENCM3_CRC_H 34 | #define LIBOPENCM3_CRC_H 35 | 36 | #include 37 | 38 | #endif 39 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f4/dac.h: -------------------------------------------------------------------------------- 1 | /** @defgroup dac_defines DAC Defines 2 | 3 | @brief Defined Constants and Types for the STM32F4xx DAC 4 | 5 | @ingroup STM32F4xx_defines 6 | 7 | @version 1.0.0 8 | 9 | @date 5 December 2012 10 | 11 | LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_DAC_H 32 | #define LIBOPENCM3_DAC_H 33 | 34 | #include 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f4/dma.h: -------------------------------------------------------------------------------- 1 | /** @defgroup dma_defines DMA Defines 2 | 3 | @ingroup STM32F4xx_defines 4 | 5 | @brief Defined Constants and Types for the STM32F4xx DMA Controller 6 | 7 | @version 1.0.0 8 | 9 | @date 30 November 2012 10 | 11 | LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_DMA_H 32 | #define LIBOPENCM3_DMA_H 33 | 34 | #include 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f4/doc-stm32f4.h: -------------------------------------------------------------------------------- 1 | /** @mainpage libopencm3 STM32F4 2 | 3 | @version 1.0.0 4 | 5 | @date 7 September 2012 6 | 7 | API documentation for ST Microelectronics STM32F4 Cortex M3 series. 8 | 9 | LGPL License Terms @ref lgpl_license 10 | */ 11 | 12 | /** @defgroup STM32F4xx STM32F4xx 13 | Libraries for ST Microelectronics STM32F4xx series. 14 | 15 | @version 1.0.0 16 | 17 | @date 7 September 2012 18 | 19 | LGPL License Terms @ref lgpl_license 20 | */ 21 | 22 | /** @defgroup STM32F4xx_defines STM32F4xx Defines 23 | 24 | @brief Defined Constants and Types for the STM32F4xx series 25 | 26 | @version 1.0.0 27 | 28 | @date 7 September 2012 29 | 30 | LGPL License Terms @ref lgpl_license 31 | */ 32 | 33 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f4/flash.h: -------------------------------------------------------------------------------- 1 | /** @defgroup flash_defines FLASH Defines 2 | * 3 | * @ingroup STM32F4xx_defines 4 | * 5 | * @brief Defined Constants and Types for the STM32F4xx FLASH Memory 6 | * 7 | * @version 1.0.0 8 | * 9 | * @date 14 January 2014 10 | * 11 | * LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_FLASH_H 32 | #define LIBOPENCM3_FLASH_H 33 | 34 | #include 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f4/gpio.h: -------------------------------------------------------------------------------- 1 | /** @defgroup gpio_defines GPIO Defines 2 | 3 | @brief Defined Constants and Types for the STM32F4xx General Purpose I/O 4 | 5 | @ingroup STM32F4xx_defines 6 | 7 | @version 1.0.0 8 | 9 | @date 1 July 2012 10 | 11 | LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_GPIO_H 32 | #define LIBOPENCM3_GPIO_H 33 | 34 | #include 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f4/hash.h: -------------------------------------------------------------------------------- 1 | /** @defgroup hash_defines HASH Defines 2 | 3 | @ingroup STM32F4xx_defines 4 | 5 | @brief Defined Constants and Types for the STM32F4xx HASH Controller 6 | 7 | @version 1.0.0 8 | 9 | @date 31 May 2013 10 | 11 | LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_HASH_H 32 | #define LIBOPENCM3_HASH_H 33 | 34 | #include 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f4/i2c.h: -------------------------------------------------------------------------------- 1 | /** @defgroup i2c_defines I2C Defines 2 | 3 | @brief Defined Constants and Types for the STM32F4xx I2C 4 | 5 | @ingroup STM32F4xx_defines 6 | 7 | @version 1.0.0 8 | 9 | @date 12 October 2012 10 | 11 | LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_I2C_H 32 | #define LIBOPENCM3_I2C_H 33 | 34 | #include 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f4/iwdg.h: -------------------------------------------------------------------------------- 1 | /** @defgroup iwdg_defines IWDG Defines 2 | 3 | @brief Defined Constants and Types for the STM32F4xx Independent Watchdog 4 | Timer 5 | 6 | @ingroup STM32F4xx_defines 7 | 8 | @version 1.0.0 9 | 10 | @date 18 August 2012 11 | 12 | LGPL License Terms @ref lgpl_license 13 | */ 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * Copyright (C) 2010 Thomas Otto 18 | * 19 | * This library is free software: you can redistribute it and/or modify 20 | * it under the terms of the GNU Lesser General Public License as published by 21 | * the Free Software Foundation, either version 3 of the License, or 22 | * (at your option) any later version. 23 | * 24 | * This library is distributed in the hope that it will be useful, 25 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 26 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 27 | * GNU Lesser General Public License for more details. 28 | * 29 | * You should have received a copy of the GNU Lesser General Public License 30 | * along with this library. If not, see . 31 | */ 32 | 33 | #ifndef LIBOPENCM3_IWDG_H 34 | #define LIBOPENCM3_IWDG_H 35 | 36 | #include 37 | 38 | #endif 39 | 40 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f4/rng.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * This library is free software: you can redistribute it and/or modify 5 | * it under the terms of the GNU Lesser General Public License as published by 6 | * the Free Software Foundation, either version 3 of the License, or 7 | * (at your option) any later version. 8 | * 9 | * This library is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | * GNU Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public License 15 | * along with this library. If not, see . 16 | */ 17 | 18 | #ifndef LIBOPENCM3_RNG_H 19 | #define LIBOPENCM3_RNG_H 20 | 21 | #include 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f4/spi.h: -------------------------------------------------------------------------------- 1 | /** @defgroup spi_defines SPI Defines 2 | 3 | @brief Defined Constants and Types for the STM32F4xx SPI 4 | 5 | @ingroup STM32F4xx_defines 6 | 7 | @version 1.0.0 8 | 9 | @date 5 December 2012 10 | 11 | LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_SPI_H 32 | #define LIBOPENCM3_SPI_H 33 | 34 | #include 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f4/usart.h: -------------------------------------------------------------------------------- 1 | /** @defgroup usart_defines USART Defines 2 | 3 | @brief Defined Constants and Types for the STM32F4xx USART 4 | 5 | @ingroup STM32F4xx_defines 6 | 7 | @version 1.0.0 8 | 9 | @date 5 December 2012 10 | 11 | LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_USART_H 32 | #define LIBOPENCM3_USART_H 33 | 34 | #include 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f7/doc-stm32f7.h: -------------------------------------------------------------------------------- 1 | /** @mainpage libopencm3 STM32F7 2 | 3 | @version 1.0.0 4 | 5 | @date 15 September 2014 6 | 7 | API documentation for ST Microelectronics STM32F7 Cortex M7 series. 8 | 9 | LGPL License Terms @ref lgpl_license 10 | */ 11 | 12 | /** @defgroup STM32F7xx STM32F7xx 13 | Libraries for ST Microelectronics STM32F7xx series. 14 | 15 | @version 1.0.0 16 | 17 | @date 15 September 2014 18 | 19 | LGPL License Terms @ref lgpl_license 20 | */ 21 | 22 | /** @defgroup STM32F7xx_defines STM32F7xx Defines 23 | 24 | @brief Defined Constants and Types for the STM32F7xx series 25 | 26 | @version 1.0.0 27 | 28 | @date 15 September 2014 29 | 30 | LGPL License Terms @ref lgpl_license 31 | */ 32 | 33 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/f7/gpio.h: -------------------------------------------------------------------------------- 1 | /** @defgroup gpio_defines GPIO Defines 2 | 3 | @brief Defined Constants and Types for the STM32F7xx General Purpose I/O 4 | 5 | @ingroup STM32F7xx_defines 6 | 7 | @version 1.0.0 8 | 9 | @date 1 July 2012 10 | 11 | LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_GPIO_H 32 | #define LIBOPENCM3_GPIO_H 33 | 34 | #include 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/hash.h: -------------------------------------------------------------------------------- 1 | /* This provides unification of code over STM32 subfamilies */ 2 | 3 | /* 4 | * This file is part of the libopencm3 project. 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #include 21 | #include 22 | 23 | #if defined(STM32F2) 24 | # include 25 | #elif defined(STM32F4) 26 | # include 27 | #else 28 | # error "hash processor is supported only" \ 29 | "in stm32f21, stm32f41 and stm32f43 families." 30 | #endif 31 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/l0/doc-stm32l0.h: -------------------------------------------------------------------------------- 1 | /** @mainpage libopencm3 STM32L0 2 | 3 | @version 1.0.0 4 | 5 | @date 15 November 2014 6 | 7 | API documentation for ST Microelectronics STM32L0 Cortex M0 series. 8 | 9 | LGPL License Terms @ref lgpl_license 10 | */ 11 | 12 | /** @defgroup STM32L0xx STM32L0xx 13 | Libraries for ST Microelectronics STM32L0xx series. 14 | 15 | @version 1.0.0 16 | 17 | @date 15 November 2014 18 | 19 | LGPL License Terms @ref lgpl_license 20 | */ 21 | 22 | /** @defgroup STM32L0xx_defines STM32L0xx Defines 23 | 24 | @brief Defined Constants and Types for the STM32L0xx series 25 | 26 | @version 1.0.0 27 | 28 | @date 7 September 2012 29 | 30 | LGPL License Terms @ref lgpl_license 31 | */ 32 | 33 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/l0/i2c.h: -------------------------------------------------------------------------------- 1 | /** @defgroup i2c_defines I2C Defines 2 | * 3 | * @brief Defined Constants and Types for the STM32L0xx I2C 4 | * 5 | * @ingroup STM32L0xx_defines 6 | * 7 | * @version 1.0.0 8 | * 9 | * @date 31 May 2016 10 | * 11 | * LGPL License Terms @ref lgpl_license 12 | */ 13 | /* 14 | * This file is part of the libopencm3 project. 15 | * 16 | * Copyright (C) 2010 Thomas Otto 17 | * 18 | * This library is free software: you can redistribute it and/or modify 19 | * it under the terms of the GNU Lesser General Public License as published by 20 | * the Free Software Foundation, either version 3 of the License, or 21 | * (at your option) any later version. 22 | * 23 | * This library is distributed in the hope that it will be useful, 24 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 25 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 26 | * GNU Lesser General Public License for more details. 27 | * 28 | * You should have received a copy of the GNU Lesser General Public License 29 | * along with this library. If not, see . 30 | */ 31 | 32 | #ifndef LIBOPENCM3_I2C_H 33 | #define LIBOPENCM3_I2C_H 34 | 35 | #include 36 | 37 | #endif 38 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/l0/irq.json: -------------------------------------------------------------------------------- 1 | { 2 | "irqs": [ 3 | "wwdg", 4 | "pvd", 5 | "rtc", 6 | "flash", 7 | "rcc", 8 | "exti0_1", 9 | "exti2_3", 10 | "exti4_15", 11 | "tsc", 12 | "dma1_channel1", 13 | "dma1_channel2_3", 14 | "dma1_channel4_5", 15 | "adc_comp", 16 | "lptim1", 17 | "reserved1", 18 | "tim2", 19 | "reserved2", 20 | "tim6_dac", 21 | "reserved3", 22 | "reserved4", 23 | "tim21", 24 | "reserved5", 25 | "tim22", 26 | "i2c1", 27 | "i2c2", 28 | "spi1", 29 | "spi2", 30 | "usart1", 31 | "usart2", 32 | "lpuart1", 33 | "lcd", 34 | "usb" 35 | ], 36 | "partname_humanreadable": "STM32 L0 series", 37 | "partname_doxygen": "STM32L0", 38 | "includeguard": "LIBOPENCM3_STM32_L0_NVIC_H" 39 | } -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/l0/pwr.h: -------------------------------------------------------------------------------- 1 | /** @defgroup pwr_defines PWR Defines 2 | * 3 | * @brief Defined Constants and Types for the STM32L0xx PWR Control 4 | * 5 | * @ingroup STM32L0xx_defines 6 | * 7 | * @version 1.0.0 8 | * 9 | * @date 21 May 2015 10 | * 11 | * LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_PWR_H 32 | #define LIBOPENCM3_PWR_H 33 | 34 | #include 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/l0/spi.h: -------------------------------------------------------------------------------- 1 | /** @defgroup spi_defines SPI Defines 2 | 3 | @brief Defined Constants and Types for the STM32L0xx SPI 4 | 5 | @ingroup STM32L0xx_defines 6 | 7 | @version 1.0.0 8 | 9 | @date 20 January 2017 10 | 11 | LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_SPI_H 32 | #define LIBOPENCM3_SPI_H 33 | 34 | #include 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/l0/st_usbfs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * This library is free software: you can redistribute it and/or modify 5 | * it under the terms of the GNU Lesser General Public License as published by 6 | * the Free Software Foundation, either version 3 of the License, or 7 | * (at your option) any later version. 8 | * 9 | * This library is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | * GNU Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public License 15 | * along with this library. If not, see . 16 | */ 17 | /* THIS FILE SHOULD NOT BE INCLUDED DIRECTLY ! 18 | * Use top-level 19 | */ 20 | 21 | #ifndef LIBOPENCM3_ST_USBFS_H 22 | # error Do not include directly ! 23 | #else 24 | 25 | #include 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/l0/usart.h: -------------------------------------------------------------------------------- 1 | /** @defgroup usart_defines USART Defines 2 | * 3 | * @brief Defined Constants and Types for the STM32L0xx USART 4 | * 5 | * @ingroup STM32L0xx_defines 6 | * 7 | * @version 1.0.0 8 | * 9 | * @date 1 Jun 2016 10 | * 11 | * LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_USART_H 32 | #define LIBOPENCM3_USART_H 33 | 34 | #include 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/l1/crc.h: -------------------------------------------------------------------------------- 1 | /** @defgroup crc_defines CRC Defines 2 | 3 | @brief libopencm3 Defined Constants and Types for the STM32L1xx CRC 4 | Generator 5 | 6 | @ingroup STM32L1xx_defines 7 | 8 | @version 1.0.0 9 | 10 | @date 18 August 2012 11 | 12 | LGPL License Terms @ref lgpl_license 13 | */ 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * Copyright (C) 2010 Thomas Otto 18 | * 19 | * This library is free software: you can redistribute it and/or modify 20 | * it under the terms of the GNU Lesser General Public License as published by 21 | * the Free Software Foundation, either version 3 of the License, or 22 | * (at your option) any later version. 23 | * 24 | * This library is distributed in the hope that it will be useful, 25 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 26 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 27 | * GNU Lesser General Public License for more details. 28 | * 29 | * You should have received a copy of the GNU Lesser General Public License 30 | * along with this library. If not, see . 31 | */ 32 | 33 | #ifndef LIBOPENCM3_CRC_H 34 | #define LIBOPENCM3_CRC_H 35 | 36 | #include 37 | 38 | #endif 39 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/l1/dac.h: -------------------------------------------------------------------------------- 1 | /** @defgroup dac_defines DAC Defines 2 | 3 | @brief Defined Constants and Types for the STM32L1xx DAC 4 | 5 | @ingroup STM32L1xx_defines 6 | 7 | @version 1.0.0 8 | 9 | @date 5 December 2012 10 | 11 | LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_DAC_H 32 | #define LIBOPENCM3_DAC_H 33 | 34 | #include 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/l1/doc-stm32l1.h: -------------------------------------------------------------------------------- 1 | /** @mainpage libopencm3 STM32L1 2 | 3 | @version 1.0.0 4 | 5 | @date 12 November 2012 6 | 7 | API documentation for ST Microelectronics STM32L1 Cortex M3 series. 8 | 9 | LGPL License Terms @ref lgpl_license 10 | */ 11 | 12 | /** @defgroup STM32L1xx STM32L1xx 13 | Libraries for ST Microelectronics STM32L1xx series. 14 | 15 | @version 1.0.0 16 | 17 | @date 12 November 2012 18 | 19 | LGPL License Terms @ref lgpl_license 20 | */ 21 | 22 | /** @defgroup STM32L1xx_defines STM32L1xx Defines 23 | 24 | @brief Defined Constants and Types for the STM32L1xx series 25 | 26 | @version 1.0.0 27 | 28 | @date 12 November 2012 29 | 30 | LGPL License Terms @ref lgpl_license 31 | */ 32 | 33 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/l1/i2c.h: -------------------------------------------------------------------------------- 1 | /** @defgroup i2c_defines I2C Defines 2 | 3 | @brief Defined Constants and Types for the STM32L1xx I2C 4 | 5 | @ingroup STM32L1xx_defines 6 | 7 | @version 1.0.0 8 | 9 | @date 12 October 2012 10 | 11 | LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_I2C_H 32 | #define LIBOPENCM3_I2C_H 33 | 34 | #include 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/l1/rtc.h: -------------------------------------------------------------------------------- 1 | /** @defgroup rtc_defines RTC Defines 2 | 3 | @brief Defined Constants and Types for the STM32L1xx RTC 4 | 5 | @ingroup STM32L1xx_defines 6 | 7 | @version 1.0.0 8 | 9 | @date 5 December 2012 10 | 11 | LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_RTC_H 32 | #define LIBOPENCM3_RTC_H 33 | 34 | #include 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/l1/spi.h: -------------------------------------------------------------------------------- 1 | /** @defgroup spi_defines SPI Defines 2 | 3 | @brief Defined Constants and Types for the STM32L1xx SPI 4 | 5 | @ingroup STM32L1xx_defines 6 | 7 | @version 1.0.0 8 | 9 | @date 5 December 2012 10 | 11 | LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_SPI_H 32 | #define LIBOPENCM3_SPI_H 33 | 34 | #include 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/l1/st_usbfs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * This library is free software: you can redistribute it and/or modify 5 | * it under the terms of the GNU Lesser General Public License as published by 6 | * the Free Software Foundation, either version 3 of the License, or 7 | * (at your option) any later version. 8 | * 9 | * This library is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | * GNU Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public License 15 | * along with this library. If not, see . 16 | */ 17 | /* THIS FILE SHOULD NOT BE INCLUDED DIRECTLY ! 18 | * Use top-level 19 | */ 20 | 21 | #ifndef LIBOPENCM3_ST_USBFS_H 22 | # error Do not include directly ! 23 | #else 24 | 25 | #include 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/l1/usart.h: -------------------------------------------------------------------------------- 1 | /** @defgroup usart_defines USART Defines 2 | 3 | @brief Defined Constants and Types for the STM32L1xx USART 4 | 5 | @ingroup STM32L1xx_defines 6 | 7 | @version 1.0.0 8 | 9 | @date 5 December 2012 10 | 11 | LGPL License Terms @ref lgpl_license 12 | */ 13 | 14 | /* 15 | * This file is part of the libopencm3 project. 16 | * 17 | * This library is free software: you can redistribute it and/or modify 18 | * it under the terms of the GNU Lesser General Public License as published by 19 | * the Free Software Foundation, either version 3 of the License, or 20 | * (at your option) any later version. 21 | * 22 | * This library is distributed in the hope that it will be useful, 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 | * GNU Lesser General Public License for more details. 26 | * 27 | * You should have received a copy of the GNU Lesser General Public License 28 | * along with this library. If not, see . 29 | */ 30 | 31 | #ifndef LIBOPENCM3_USART_H 32 | #define LIBOPENCM3_USART_H 33 | 34 | #include 35 | 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/l4/doc-stm32l4.h: -------------------------------------------------------------------------------- 1 | /** @mainpage libopencm3 STM32L4 2 | 3 | @version 1.0.0 4 | 5 | @date 12 February 2015 6 | 7 | API documentation for ST Microelectronics STM32L4 Cortex M4 series. 8 | 9 | LGPL License Terms @ref lgpl_license 10 | */ 11 | 12 | /** @defgroup STM32L4xx STM32L4xx 13 | Libraries for ST Microelectronics STM32L4xx series. 14 | 15 | @version 1.0.0 16 | 17 | @date 12 February 2015 18 | 19 | LGPL License Terms @ref lgpl_license 20 | */ 21 | 22 | /** @defgroup STM32L4xx_defines STM32L4xx Defines 23 | 24 | @brief Defined Constants and Types for the STM32L4xx series 25 | 26 | @version 1.0.0 27 | 28 | @date 12 February 2015 29 | 30 | LGPL License Terms @ref lgpl_license 31 | */ 32 | 33 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/ltdc.h: -------------------------------------------------------------------------------- 1 | /* This provides unification of code over STM32 subfamilies */ 2 | 3 | /* 4 | * This file is part of the libopencm3 project. 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #include 21 | #include 22 | 23 | #if defined(STM32F4) 24 | # include 25 | #else 26 | # error "LCD-TFT only defined for STM32F4" 27 | #endif 28 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/quadspi.h: -------------------------------------------------------------------------------- 1 | /* This provides unification of code over STM32 subfamilies */ 2 | 3 | /* 4 | * This file is part of the libopencm3 project. 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #include 21 | #include 22 | 23 | #if defined(STM32F4) 24 | # include 25 | #else 26 | # error "quadspi.h not available for this family." 27 | #endif 28 | 29 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/stm32/tsc.h: -------------------------------------------------------------------------------- 1 | /* This provides unification of code over STM32 subfamilies */ 2 | 3 | /* 4 | * This file is part of the libopencm3 project. 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | #include 21 | #include 22 | 23 | #if defined(STM32F0) 24 | # include 25 | #else 26 | # error "stm32 family not defined." 27 | #endif 28 | 29 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/usb/doc-usb.h: -------------------------------------------------------------------------------- 1 | /** @mainpage libopencm3 Generic USB 2 | 3 | @version 1.0.0 4 | 5 | @date 10 March 2013 6 | 7 | API documentation for Generic USB. 8 | 9 | LGPL License Terms @ref lgpl_license 10 | */ 11 | 12 | /** @defgroup USB Generic USB 13 | Libraries for Generic USB. 14 | 15 | @version 1.0.0 16 | 17 | @date 10 March 2013 18 | 19 | LGPL License Terms @ref lgpl_license 20 | */ 21 | 22 | /** @defgroup USB_defines Generic USB Defines 23 | 24 | @brief Defined Constants and Types for Generic USB. 25 | 26 | @version 1.0.0 27 | 28 | @date 10 March 2013 29 | 30 | LGPL License Terms @ref lgpl_license 31 | */ 32 | 33 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencm3/vf6xx/doc-vf6xx.h: -------------------------------------------------------------------------------- 1 | /** @mainpage libopencm3 VF6xx 2 | * 3 | * @version 1.0.0 4 | * 5 | * @date 03 July 2014 6 | * 7 | * API documentation for Freescale VF6xx series Cortex-M4 core. 8 | * 9 | * LGPL License Terms @ref lgpl_license 10 | */ 11 | 12 | /** @defgroup VF6xx VF6xx 13 | * Libraries for Freescale VF6xx series Cortex-M4 core. 14 | * 15 | * @version 1.0.0 16 | * 17 | * @date 03 July 2014 18 | * 19 | * LGPL License Terms @ref lgpl_license 20 | */ 21 | 22 | /** @defgroup VF6xx_defines VF6xx Defines 23 | * 24 | * @brief Defined Constants and Types for the VF6xx series 25 | * 26 | * @version 1.0.0 27 | * 28 | * @date 03 July 2014 29 | * 30 | * LGPL License Terms @ref lgpl_license 31 | */ 32 | 33 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencmsis/efm32/tg/irqhandlers.h: -------------------------------------------------------------------------------- 1 | /* This file is part of the libopencm3 project. 2 | * 3 | * It was generated by the irq2nvic_h script. 4 | * 5 | * These definitions bend every interrupt handler that is defined CMSIS style 6 | * to the weak symbol exported by libopencm3. 7 | */ 8 | 9 | #define DMA_IRQHandler dma_isr 10 | #define GPIO_EVEN_IRQHandler gpio_even_isr 11 | #define TIMER0_IRQHandler timer0_isr 12 | #define USART0_RX_IRQHandler usart0_rx_isr 13 | #define USART0_TX_IRQHandler usart0_tx_isr 14 | #define ACMP01_IRQHandler acmp01_isr 15 | #define ADC0_IRQHandler adc0_isr 16 | #define DAC0_IRQHandler dac0_isr 17 | #define I2C0_IRQHandler i2c0_isr 18 | #define GPIO_ODD_IRQHandler gpio_odd_isr 19 | #define TIMER1_IRQHandler timer1_isr 20 | #define USART1_RX_IRQHandler usart1_rx_isr 21 | #define USART1_TX_IRQHandler usart1_tx_isr 22 | #define LESENSE_IRQHandler lesense_isr 23 | #define LEUART0_IRQHandler leuart0_isr 24 | #define LETIMER0_IRQHandler letimer0_isr 25 | #define PCNT0_IRQHandler pcnt0_isr 26 | #define RTC_IRQHandler rtc_isr 27 | #define CMU_IRQHandler cmu_isr 28 | #define VCMP_IRQHandler vcmp_isr 29 | #define LCD_IRQHandler lcd_isr 30 | #define MSC_IRQHandler msc_isr 31 | #define AES_IRQHandler aes_isr 32 | -------------------------------------------------------------------------------- /jnz/libopencm3/include/libopencmsis/sam/d/irqhandlers.h: -------------------------------------------------------------------------------- 1 | /* This file is part of the libopencm3 project. 2 | * 3 | * It was generated by the irq2nvic_h script. 4 | * 5 | * These definitions bend every interrupt handler that is defined CMSIS style 6 | * to the weak symbol exported by libopencm3. 7 | */ 8 | 9 | #define PM_IRQHandler pm_isr 10 | #define SYSCTRL_IRQHandler sysctrl_isr 11 | #define WDT_IRQHandler wdt_isr 12 | #define RTC_IRQHandler rtc_isr 13 | #define EIC_IRQHandler eic_isr 14 | #define NVMCTRL_IRQHandler nvmctrl_isr 15 | #define DMAC_IRQHandler dmac_isr 16 | #define RESERVED1_IRQHandler reserved1_isr 17 | #define EVSYS_IRQHandler evsys_isr 18 | #define SERCOM0_IRQHandler sercom0_isr 19 | #define SERCOM1_IRQHandler sercom1_isr 20 | #define SERCOM2_IRQHandler sercom2_isr 21 | #define TCC0_IRQHandler tcc0_isr 22 | #define TC1_IRQHandler tc1_isr 23 | #define TC2_IRQHandler tc2_isr 24 | #define ADC_IRQHandler adc_isr 25 | #define AC_IRQHandler ac_isr 26 | #define DAC_IRQHandler dac_isr 27 | #define PTC_IRQHandler ptc_isr 28 | -------------------------------------------------------------------------------- /jnz/libopencm3/lib/libopencm3_stm32f0.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SevenW/embapps/b9341c80bc57ba9f0e9161ced696d514e59d30fb/jnz/libopencm3/lib/libopencm3_stm32f0.a -------------------------------------------------------------------------------- /jnz/libopencm3/lib/libopencm3_stm32f1.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SevenW/embapps/b9341c80bc57ba9f0e9161ced696d514e59d30fb/jnz/libopencm3/lib/libopencm3_stm32f1.a -------------------------------------------------------------------------------- /jnz/libopencm3/lib/libopencm3_stm32f2.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SevenW/embapps/b9341c80bc57ba9f0e9161ced696d514e59d30fb/jnz/libopencm3/lib/libopencm3_stm32f2.a -------------------------------------------------------------------------------- /jnz/libopencm3/lib/libopencm3_stm32f3.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SevenW/embapps/b9341c80bc57ba9f0e9161ced696d514e59d30fb/jnz/libopencm3/lib/libopencm3_stm32f3.a -------------------------------------------------------------------------------- /jnz/libopencm3/lib/libopencm3_stm32f4.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SevenW/embapps/b9341c80bc57ba9f0e9161ced696d514e59d30fb/jnz/libopencm3/lib/libopencm3_stm32f4.a -------------------------------------------------------------------------------- /jnz/libopencm3/lib/libopencm3_stm32l0.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SevenW/embapps/b9341c80bc57ba9f0e9161ced696d514e59d30fb/jnz/libopencm3/lib/libopencm3_stm32l0.a -------------------------------------------------------------------------------- /jnz/libopencm3/lib/libopencm3_stm32l1.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SevenW/embapps/b9341c80bc57ba9f0e9161ced696d514e59d30fb/jnz/libopencm3/lib/libopencm3_stm32l1.a -------------------------------------------------------------------------------- /jnz/libopencm3/stm32l0xx8.ld: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the libopencm3 project. 3 | * 4 | * Copyright (C) 2012 Karl Palsson 5 | * 6 | * This library is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Lesser General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with this library. If not, see . 18 | */ 19 | 20 | /* Linker script for STM32L0xx8, 64K flash, 8K RAM. */ 21 | 22 | /* Define memory regions. */ 23 | MEMORY 24 | { 25 | rom (rx) : ORIGIN = 0x08000000, LENGTH = 64K 26 | ram (rwx) : ORIGIN = 0x20000000, LENGTH = 8K 27 | eep (r) : ORIGIN = 0x08080000, LENGTH = 2K 28 | } 29 | 30 | /* Include the common ld script. */ 31 | INCLUDE ../libopencm3/lib/libopencm3_stm32l0.ld 32 | 33 | -------------------------------------------------------------------------------- /jnz/motion/Makefile: -------------------------------------------------------------------------------- 1 | BINARY = radio 2 | V=1 #verbose make 3 | OBJS = main.o 4 | 5 | OPENCM3_DIR = ../libopencm3 6 | LDSCRIPT = $(OPENCM3_DIR)/stm32l0xx8.ld 7 | SCRIPT_DIR = .. 8 | default: $(BINARY).bin 9 | 10 | V=1 #verbose make 11 | include $(OPENCM3_DIR)/Makefile.include 12 | -------------------------------------------------------------------------------- /jnz/p9813-rgb/Makefile: -------------------------------------------------------------------------------- 1 | BINARY = p9813-rgb 2 | V=1 #verbose make 3 | OBJS = p9813-rgb-int.o main.o 4 | 5 | OPENCM3_DIR = ../libopencm3 6 | LDSCRIPT = $(OPENCM3_DIR)/stm32l0xx8.ld 7 | SCRIPT_DIR = .. 8 | default: $(BINARY).bin 9 | 10 | V=1 #verbose make 11 | include $(OPENCM3_DIR)/Makefile.include 12 | -------------------------------------------------------------------------------- /jnz/p9813-rgb/p9813-rgb.h: -------------------------------------------------------------------------------- 1 | // P9813 driver. 2 | 3 | #include 4 | #include 5 | 6 | class P9813 7 | { 8 | public: 9 | P9813(uint32_t, uint16_t, uint32_t, uint16_t); 10 | void begin(void); 11 | void end(void); 12 | void ClkRise(void); 13 | void Send32Zero(void); 14 | uint8_t TakeAntiCode(uint8_t dat); 15 | void DatSend(uint32_t dx); 16 | void SetColor(uint8_t Red,uint8_t Green,uint8_t Blue); 17 | private: 18 | uint32_t CKport; 19 | uint16_t CKpin; 20 | uint32_t DOport; 21 | uint16_t DOpin; 22 | }; 23 | 24 | -------------------------------------------------------------------------------- /jnz/radio/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | radio 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.cdt.managedbuilder.core.genmakebuilder 10 | clean,full,incremental, 11 | 12 | 13 | 14 | 15 | org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder 16 | full,incremental, 17 | 18 | 19 | 20 | 21 | 22 | org.eclipse.cdt.core.cnature 23 | org.eclipse.cdt.core.ccnature 24 | org.eclipse.cdt.managedbuilder.core.managedBuildNature 25 | org.eclipse.cdt.managedbuilder.core.ScannerConfigNature 26 | 27 | 28 | -------------------------------------------------------------------------------- /jnz/radio/.settings/language.settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /jnz/radio/Makefile: -------------------------------------------------------------------------------- 1 | BINARY = radio 2 | V=1 #verbose make 3 | OBJS = main.o 4 | 5 | OPENCM3_DIR = ../libopencm3 6 | LDSCRIPT = $(OPENCM3_DIR)/stm32l0xx8.ld 7 | SCRIPT_DIR = .. 8 | default: $(BINARY).bin 9 | 10 | V=1 #verbose make 11 | include $(OPENCM3_DIR)/Makefile.include 12 | -------------------------------------------------------------------------------- /jnz/rf-ook/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | rf-ook 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.cdt.managedbuilder.core.genmakebuilder 10 | clean,full,incremental, 11 | 12 | 13 | 14 | 15 | org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder 16 | full,incremental, 17 | 18 | 19 | 20 | 21 | 22 | org.eclipse.cdt.core.cnature 23 | org.eclipse.cdt.core.ccnature 24 | org.eclipse.cdt.managedbuilder.core.managedBuildNature 25 | org.eclipse.cdt.managedbuilder.core.ScannerConfigNature 26 | 27 | 28 | -------------------------------------------------------------------------------- /jnz/rf-ook/.settings/language.settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /jnz/rf-ook/Makefile: -------------------------------------------------------------------------------- 1 | BINARY = rf-ook 2 | V=1 #verbose make 3 | OBJS = main.o 4 | 5 | OPENCM3_DIR = ../libopencm3 6 | LDSCRIPT = $(OPENCM3_DIR)/stm32l0xx8.ld 7 | SCRIPT_DIR = .. 8 | default: $(BINARY).bin 9 | 10 | #LDFLAGS = -fno-rtti 11 | CPPFLAGS = -fno-rtti 12 | 13 | V=1 #verbose make 14 | include $(OPENCM3_DIR)/Makefile.include 15 | -------------------------------------------------------------------------------- /jnz/usart/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | usart 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.cdt.managedbuilder.core.genmakebuilder 10 | clean,full,incremental, 11 | 12 | 13 | 14 | 15 | org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder 16 | full,incremental, 17 | 18 | 19 | 20 | 21 | 22 | org.eclipse.cdt.core.cnature 23 | org.eclipse.cdt.core.ccnature 24 | org.eclipse.cdt.managedbuilder.core.managedBuildNature 25 | org.eclipse.cdt.managedbuilder.core.ScannerConfigNature 26 | 27 | 28 | -------------------------------------------------------------------------------- /jnz/usart/.settings/language.settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /jnz/usart/Makefile: -------------------------------------------------------------------------------- 1 | BINARY = usart 2 | V=1 #verbose make 3 | OBJS = main.o 4 | 5 | OPENCM3_DIR = ../libopencm3 6 | LDSCRIPT = $(OPENCM3_DIR)/stm32l0xx8.ld 7 | SCRIPT_DIR = .. 8 | default: $(BINARY).bin 9 | 10 | V=1 #verbose make 11 | include $(OPENCM3_DIR)/Makefile.include 12 | -------------------------------------------------------------------------------- /pico-apps/rf_ping/Makefile: -------------------------------------------------------------------------------- 1 | CFLAGS += -DSTARTUP_NO_IRQS 2 | CXXFLAGS += -I. 3 | ISPOPTS += -s 4 | LINK = LPC810.ld 5 | ARCH = lpc8xx 6 | 7 | OBJS = rf_ping.o system_LPC8xx.o gcc_startup_lpc8xx.o \ 8 | uart.o printf.o printf-retarget.o 9 | 10 | default: isp 11 | 12 | SHARED = ../sys-none 13 | include $(SHARED)/rules.mk 14 | -------------------------------------------------------------------------------- /raspi-apps/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SevenW/embapps/b9341c80bc57ba9f0e9161ced696d514e59d30fb/raspi-apps/README.md -------------------------------------------------------------------------------- /raspi-apps/rf-ook-optimize/rf-ook: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SevenW/embapps/b9341c80bc57ba9f0e9161ced696d514e59d30fb/raspi-apps/rf-ook-optimize/rf-ook -------------------------------------------------------------------------------- /raspi-apps/rf-ook/Makefile: -------------------------------------------------------------------------------- 1 | CXXFLAGS += -I../../../embello/lib/arch-raspi -I../../../embello/lib/driver 2 | LDLIBS = -lwiringPi -lwiringPiDev -lpthread 3 | 4 | all: rf-ook 5 | 6 | clean: 7 | rm -f *.o rf-ook 8 | 9 | 10 | # #TODO: Move -I vendor/lpcopen/inc into rules.mk 11 | # LIBDIR = ../../embello/lib 12 | # CFLAGS += -DCORE_M0PLUS 13 | # CXXFLAGS += -DCORE_M0PLUS -I. -I$(LIBDIR)/vendor/lpcopen/inc 14 | # ISPOPTS += -s 15 | # LINK = LPC824.ld 16 | # ARCH = lpc8xx 17 | 18 | # OBJS = rf-ook.o system_LPC8xx.o gcc_startup_lpc8xx.o \ 19 | # uart.o printf.o printf-retarget.o 20 | 21 | # default: isp 22 | 23 | # #LIBDIR = ../../embello/lib 24 | # SHARED = $(LIBDIR)/sys-none 25 | # include $(SHARED)/rules.mk 26 | -------------------------------------------------------------------------------- /raspi-apps/rf-ook/rf-ook: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SevenW/embapps/b9341c80bc57ba9f0e9161ced696d514e59d30fb/raspi-apps/rf-ook/rf-ook -------------------------------------------------------------------------------- /raspi-apps/rfm69tool/Makefile: -------------------------------------------------------------------------------- 1 | CXXFLAGS += -I../../../embello/lib/arch-raspi -I../../../embello/lib/driver 2 | LDLIBS = -lwiringPi -lwiringPiDev -lpthread 3 | 4 | all: rfm69tool 5 | 6 | clean: 7 | rm -f *.o rfm69tool 8 | -------------------------------------------------------------------------------- /raspi-apps/rfm69tool/rf69spi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SevenW/embapps/b9341c80bc57ba9f0e9161ced696d514e59d30fb/raspi-apps/rfm69tool/rf69spi -------------------------------------------------------------------------------- /raspi-apps/rfm69tool/rf69spi.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | 6 | #include 7 | #include 8 | 9 | #include "spi.h" 10 | #include "rf69.h" 11 | 12 | RF69 rf; 13 | 14 | uint8_t rxBuf[64]; 15 | 16 | int main () { 17 | wiringPiSetup(); 18 | int myFd = wiringPiSPISetup (0, 4000000); 19 | 20 | if (myFd < 0) { 21 | printf("Can't open the SPI bus: %d\n", errno); 22 | return 1; 23 | } 24 | 25 | printf("\n[rf69try]\n"); 26 | 27 | rf.init(1, 42, 8686); 28 | //rf.encrypt("mysecret"); 29 | rf.txPower(15); // 0 = min .. 31 = max 30 | 31 | uint16_t cnt = 0; 32 | uint8_t txBuf[62]; 33 | for (int i = 0; i < sizeof txBuf; ++i) 34 | txBuf[i] = i; 35 | 36 | while (true) { 37 | if (++cnt % 1024 == 0) { 38 | int txLen = ++txBuf[0] % (sizeof txBuf + 1); 39 | printf(" > #%d, %db\n", txBuf[0], txLen); 40 | rf.send(0, txBuf, txLen); 41 | } 42 | 43 | int len = rf.receive(rxBuf, sizeof rxBuf); 44 | if (len >= 0) { 45 | printf("OK "); 46 | for (int i = 0; i < len; ++i) 47 | printf("%02x", rxBuf[i]); 48 | printf(" (%d%s%d:%d)\n", 49 | rf.rssi, rf.afc < 0 ? "" : "+", rf.afc, rf.lna); 50 | } 51 | 52 | chThdYield(); 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /raspi-apps/rfm69tool/rfm69tool: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SevenW/embapps/b9341c80bc57ba9f0e9161ced696d514e59d30fb/raspi-apps/rfm69tool/rfm69tool --------------------------------------------------------------------------------