Mcu Specific Special Words¶
LM4F120¶
Flash¶
eraseflash |
( - - ) |
Erases everything. Clears Ram. Restarts Forth. |
eraseflashfrom |
( a-addr - - ) |
Starts erasing at this address. Clears Ram. Restarts Forth. |
flashpageerase |
( a-addr - - ) |
Erase one 1k flash page only. Take care: No Reset, no dictionary reinitialisation. |
cflash! |
( char c-addr - - ) |
Writes byte to flash |
hflash! |
( u|n a-addr - - ) |
Writes halfword to flash |
flash! |
( u|n 4-a-addr - - ) |
Writes single number to flash, 4 aligned ! |
Interrupts¶
Look into vectors.s and interrupts.s to add more interrupts.
irq-porta |
( - - a-addr ) |
Memory locations for IRQ-Hooks |
irq-portb |
||
irq-portc |
||
irq-portd |
||
irq-porte |
||
irq-portf |
||
irq-timer0a |
||
irq-timer0b |
||
irq-timer1a |
||
irq-timer1b |
||
irq-timer2a |
||
irq-timer2b |
||
irq-adc0seq0 |
||
irq-adc0seq1 |
||
irq-adc0seq2 |
||
irq-adc0seq3 |
||
irq-terminal |
TM4C1294¶
Flash¶
eraseflash |
( - - ) |
Erases everything. Clears Ram. Restarts Forth. |
eraseflashfrom |
( a-addr - - ) |
Starts erasing at this address. Clears Ram. Restarts Forth. |
flashpageerase |
( a-addr - - ) |
Erase one 16k flash page only. Take care: No Reset, no dictionary reinitialisation. |
cflash! |
( char c-addr - - ) |
Writes byte to flash |
hflash! |
( u|n a-addr - - ) |
Writes halfword to flash |
flash! |
( u|n 4-a-addr - - ) |
Writes single number to flash, 4 aligned ! |
Interrupts¶
Look into vectors.s and interrupts.s to add more interrupts.
irq-porta |
( - - a-addr ) |
Memory locations for IRQ-Hooks |
irq-portb |
||
irq-portc |
||
irq-portd |
||
irq-porte |
||
irq-portf |
||
irq-portg |
||
irq-porth |
||
irq-portj |
||
irq-portk |
||
irq-portl |
||
irq-timer0a |
||
irq-timer0b |
||
irq-timer1a |
||
irq-timer1b |
||
irq-timer2a |
||
irq-timer2b |
||
irq-timer3a |
||
irq-timer3b |
||
irq-adc0seq0 |
||
irq-adc0seq1 |
||
irq-adc0seq2 |
||
irq-adc0seq3 |
||
irq-adc1seq0 |
||
irq-adc1seq1 |
||
irq-adc1seq2 |
||
irq-adc1seq3 |
||
irq-ethernet |
||
irq-terminal |
MSP432P401R¶
Flash¶
eraseflash |
( - - ) |
Erases everything. Clears Ram. Restarts Forth. |
eraseflashfrom |
( a-addr - - ) |
Starts erasing at this address. Clears Ram. Restarts Forth. |
flashpageerase |
( a-addr - - ) |
Erase one 1k flash page only. Take care: No Reset, no dictionary reinitialisation. |
cflash! |
( char c-addr - - ) |
Writes byte to flash |
hflash! |
( u|n a-addr - - ) |
Writes halfword to flash |
flash! |
( u|n 4-a-addr - - ) |
Writes single number to flash, 4 aligned ! |
Interrupts¶
Look into vectors.s and interrupts.s to add more interrupts.
irq-port1 |
( - - a-addr ) |
Memory locations for IRQ-Hooks |
irq-port2 |
||
irq-port3 |
||
irq-port4 |
||
irq-port5 |
||
irq-port6 |
||
irq-watchdo |
||
irq-adc |
||
irq-timera0 |
||
irq-timera1 |
LPC1114FN28¶
LPC1115FBD48¶
Look into vectors.s and interrupts.s to add more interrupts.
initflash |
( - - ) |
Clear buffers |
hflash! |
( u|n a-addr - - ) |
Writes halfword to flash (buffered) |
flushflash |
( - - ) |
Flush flash buffers; needed if you comma in values after create |
flash-khz |
( - - addr ) |
Variable with current core frequency in kHz |
eraseflash |
( - - ) |
Erases everything. Clears Ram. Restarts Forth. |
16flash! |
( x1 x2 x3 x4 addr – ) |
Flash aligned 16 Bytes at once |
irq-i2c |
( - - a-addr ) |
Memory locations for IRQ-Hooks |
irq-uart |
||
irq-adc |
STM32F051¶
Flash¶
eraseflash |
( - - ) |
Erases everything. Clears Ram. Restarts Forth. |
eraseflashfrom |
( a-addr - - ) |
Starts erasing at this address. Clears Ram. Restarts Forth. |
flashpageerase |
( a-addr - - ) |
Erase one 1k flash page only. Take care: No Reset, no dictionary reinitialisation. |
hflash! |
( u|n a-addr - - ) |
Writes halfword to flash |
Interrupts¶
Look into vectors.s and interrupts.s to add more interrupts.
irq-adc |
( - - a-addr ) |
Memory locations for IRQ-Hooks |
irq-exti0_1 |
||
irq-exti2_3 |
||
irq-exti4_15 |
||
irq-tim1_up |
||
irq-tim1_cc |
||
irq-tim2 |
||
irq-tim3 |
STM32F030F4¶
Flash¶
eraseflash |
( - - ) |
Erases everything. Clears Ram. Restarts Forth. |
hflash! |
( u|n a-addr - - ) |
Writes halfword to flash |
Interrupts¶
Look into vectors.s and interrupts.s to add more interrupts.
irq-adc |
( - - a-addr ) |
Memory locations for IRQ-Hooks |
irq-exti0_1 |
||
irq-exti2_3 |
||
irq-exti4_15 |
||
irq-tim1_up |
||
irq-tim1_cc |
||
irq-tim3 |
STM32L053C8¶
Flash¶
eraseflash |
( - - ) |
Erases everything. Clears Ram. Restarts Forth. |
eraseflashfrom |
( a-addr - - ) |
Starts erasing at this address. Clears Ram. Restarts Forth. |
flashpageerase |
( a-addr - - ) |
Erase one 128 byte flash page only. Take care: No Reset, no dictionary reinitialisation. |
flash! |
( u|n a-addr - - ) |
Writes word to flash |
Interrupts¶
Look into vectors.s and interrupts.s to add more interrupts.
irq-rtc |
( - - a-addr ) |
Memory locations for IRQ-Hooks |
irq-exti0_1 |
||
irq-exti2_3 |
||
irq-exti4_15 |
||
irq-touch |
||
irq-dma1 |
||
irq-dma2_3 |
||
irq-dma4_7 |
||
irq-adc |
||
irq-lptim1 |
||
irq-tim2 |
||
irq-dac |
||
irq-tim21 |
||
irq-tim22 |
||
irq-i2c1 |
||
irq-i2c2 |
||
irq-spi1 |
||
irq-spi2 |
||
irq-usart1 |
||
irq-usart2 |
||
irq-rng |
||
irq-lcd |
||
irq-usb |
STM32L152¶
Flash¶
eraseflash |
( - - ) |
Erases everything. Clears Ram. Restarts Forth. |
eraseflashfrom |
( a-addr - - ) |
Starts erasing at this address. Clears Ram. Restarts Forth. |
flashpageerase |
( a-addr - - ) |
Erase one 256 byte flash page only. Take care: No Reset, no dictionary reinitialisation. |
flash! |
( u|n a-addr - - ) |
Writes word to flash |
Interrupts¶
Look into vectors.s and interrupts.s to add more interrupts.
irq-adc |
( - - a-addr ) |
Memory locations for IRQ-Hooks |
irq-dac |
||
irq-exti4 |
||
irq-exti3 |
||
irq-exti2 |
||
irq-exti1 |
||
irq-exti0 |
||
irq-tim2 |
||
irq-tim3 |
||
irq-tim4 |
STM32L476¶
Flash¶
initflash |
( - - ) |
Clear buffers | |
hflash! |
( u|n a-addr - - ) |
Writes halfword to flash |
flushflash |
( - - ) |
Flush flash buffers needed if you comma in values after create |
eraseflash |
( - - ) |
Erases everything. Clears Ram. Restarts Forth. |
eraseflashfrom |
( a-addr - - ) |
Starts erasing at this address. Clears Ram. Restarts Forth. |
flashpageerase |
( a-addr - - ) |
Erase one 2048 byte flash page only. Take care: No Reset, no dictionary reinitialisation. |
16flash! |
( x1 x2 x3 x4 addr - - ) |
Flash 4 words aligned at 8 byte boundary at once |
Interrupts¶
Look into vectors.s and interrupts.s to add more interrupts.
irq-adc |
( - - a-addr ) |
Memory locations for IRQ-Hooks |
irq-exti4 |
||
irq-exti3 |
||
irq-exti2 |
||
irq-exti1 |
||
irq-exti0 |
||
irq-tim2 |
||
irq-tim3 |
||
irq-tim4 |
STM32F100¶
STM32F103¶
Flash¶
eraseflash |
( - - ) |
Erases everything. Clears Ram. Restarts Forth. |
eraseflashfrom |
( a-addr - - ) |
Starts erasing at this address. Clears Ram. Restarts Forth. |
flashpageerase |
( a-addr - - ) |
Erase one 1k flash page only. Take care: No Reset, no dictionary reinitialisation. |
hflash! |
( u|n a-addr - - ) |
Writes halfword to flash |
Interrupts¶
Look into vectors.s and interrupts.s to add more interrupts.
irq-adc |
( - - a-addr ) |
Memory locations for IRQ-Hooks |
irq-exti4 |
||
irq-exti3 |
||
irq-exti2 |
||
irq-exti1 |
||
irq-exti0 |
STM32F303¶
Flash¶
eraseflash |
( - - ) |
Erases everything. Clears Ram. Restarts Forth. |
eraseflashfrom |
( a-addr - - ) |
Starts erasing at this address. Clears Ram. Restarts Forth. |
flashpageerase |
( a-addr - - ) |
Erase one 2k flash page only. Take care: No Reset, no dictionary reinitialisation. |
hflash! |
( u|n a-addr - - ) |
Writes halfword to flash |
Interrupts¶
Look into vectors.s and interrupts.s to add more interrupts.
irq-adc |
( - - a-addr ) |
Memory locations for IRQ-Hooks |
irq-exti4 |
||
irq-exti3 |
||
irq-exti2 |
||
irq-exti1 |
||
irq-exti0 |
||
irq-tim2 |
||
irq-tim3 |
||
irq-tim4 |
STM32F401¶
STM32F407¶
STM32F411¶
STM32F429¶
Flash¶
eraseflash |
( - - ) |
Erases everything. Clears Ram. Restarts Forth. |
eraseflashsector |
( u - - ) |
Erases one sector of Flash |
cflash! |
( char c-addr - - ) |
Writes byte to flash |
hflash! |
( u|n a-addr - - ) |
Writes halfword to flash |
Interrupts¶
Look into vectors.s and interrupts.s to add more interrupts.
irq-adc |
( - - a-addr ) |
Memory locations for IRQ-Hooks |
irq-exti4 |
||
irq-exti3 |
||
irq-exti2 |
||
irq-exti1 |
||
irq-exti0 |
||
irq-tim2 |
||
irq-tim3 |
||
irq-tim4 |
KL25Z128¶
Flash¶
eraseflash |
( - - ) |
Erases everything. Clears Ram. Restarts Forth. |
eraseflashfrom |
( a-addr - - ) |
Starts erasing at this address. Clears Ram. Restarts Forth. |
flashpageerase |
( a-addr - - ) |
Erase one 1k flash page only. Take care: No Reset, no dictionary reinitialisation. |
hflash! |
( u|n a-addr - - ) |
Writes halfword to flash - emulated |
flash! |
( u|n 4-a-addr - - ) |
Writes single number to flash, 4 aligned ! |
Interrupts¶
Look into vectors.s and interrupts.s to add more interrupts.
irq-adc |
( - - a-addr ) |
Memory locations for IRQ-Hooks |
irq-dac |
||
irq-cmp |
||
irq-porta |
||
irq-portd |
XMC1100¶
Flash¶
eraseflash |
( - - ) |
Erases everything. Clears Ram. Restarts Forth. |
eraseflashfrom |
( a-addr - - ) |
Starts erasing at this address. Clears Ram. Restarts Forth. |
flashpageerase |
( a-addr - - ) |
Erase one 256 byte flash page only. No Reset, no dictionary reinitialisation. |
initflash |
( - - ) |
Clear buffers |
hflash! |
( u|n a-addr - - ) |
Writes halfword to flash |
flushflash |
( - - ) |
Flush flash buffers needed if you comma in values after create |
16flash! |
( x1 x2 x3 x4 addr - - ) |
Flash aligned 16 Bytes at once |
Interrupts¶
Look into vectors.s and interrupts.s to add more interrupts.
irq-scu0 |
( - - a-addr ) |
Memory locations for IRQ-Hooks |
irq-scu1 |
||
irq-eru0 |
||
irq-eru1 |
||
irq-eru2 |
||
irq-eru3 |
||
irq-usi0 |
||
irq-usi1 |
||
irq-usi2 |
||
irq-usi3 |
||
irq-usi4 |
||
irq-usi5 |
||
irq-adc0 |
||
irq-adc1 |
||
irq-ccu0 |
||
irq-ccu1 |
||
irq-ccu2 |
||
irq-ccu3 |
EFM32GG990¶
Flash¶
eraseflash |
( - - ) |
Erases everything. Clears Ram. Restarts Forth. |
eraseflashfrom |
( a-addr - - ) |
Starts erasing at this address. Clears Ram. Restarts Forth. |
flashpageerase |
( a-addr - - ) |
Erase one 4k flash page only. Take care: No Reset, no dictionary reinitialisation. |
hflash! |
( u|n a-addr - - ) |
Writes halfword to flash |
Interrupts¶
Look into vectors.s and interrupts.s to add more interrupts.
irq-dma |
( - - a-addr ) |
Memory locations for IRQ-Hooks |
irq-gpioeven |
||
irq-timer0 |
||
irq-usart0rx |
||
irq-usart0tx |
||
irq-acmp0 |
||
irq-adc0 |
||
irq-dac0 |
||
irq-i2c0 |
||
irq-gpioodd |
||
irq-timer1 |
||
irq-timer2 |
||
irq-usart1rx |
||
irq-usart1tx |
||
irq-usart2rx |
||
irq-usart2tx |
||
irq-uart0rx |
||
irq-uart0tx |
||
irq-leuart0 |
||
irq-leuart1 |
||
irq-letimer0 |
||
irq-pcnt0 |
||
irq-pcnt1 |
||
irq-pcnt2 |
||
irq-rtc |
||
irq-cmu |
||
irq-vcmp |
||
irq-lcd |
||
irq-msc |
||
irq-aes |
MK20DX256¶
Flash¶
eraseflash |
( - - ) |
Erases everything. Clears Ram. Restarts Forth. |
eraseflashfrom |
( a-addr - - ) |
Starts erasing at this address. Clears Ram. Restarts Forth. |
flashpageerase |
( a-addr - - ) |
Erase one 1k flash page only. Take care: No Reset, no dictionary reinitialisation. |
hflash! |
( u|n a-addr - - ) |
Writes halfword to flash - emulated |
flash! |
( u|n 4-a-addr - - ) |
Writes single number to flash, 4 aligned ! |
Interrupts¶
Look into vectors.s and interrupts.s to add more interrupts.
irq-adc0 |
( - - a-addr ) |
Memory locations for IRQ-Hooks |
irq-adc1 |
||
irq-dac |
||
irq-cmp0 |
||
irq-cmp1 |
||
irq-cmp2 |
||
irq-porta |
||
irq-portb |
||
irq-portc |
||
irq-portd |
||
irq-porte |
||
irq-uart0S |
||
irq-uart0E |
nRF51822¶
Flash¶
eraseflash |
( - - ) |
Erases everything. Clears Ram. Restarts Forth. |
eraseflashfrom |
( a-addr - - ) |
Starts erasing at this address. Clears Ram. Restarts Forth. |
flashpageerase |
( a-addr - - ) |
Erase one 1k flash page only. Take care: No Reset, no dictionary reinitialisation. |
hflash! |
( u|n a-addr - - ) |
Writes halfword to flash |
Interrupts¶
Look into vectors.s and interrupts.s to add more interrupts.
irq-power |
( - - a-addr ) |
Memory locations for IRQ-Hooks |
irq-radio |
||
irq-uart |
||
irq-spi0 |
||
irq-spi1 |
||
irq-gpiote |
||
irq-adc |
||
irq-tim0 |
||
irq-tim1 |
||
irq-tim2 |
||
irq-rtc0 |
||
irq-temp |
||
irq-rng |
||
irq-ecb |
||
irq-ccm_aar |
||
irq-wdt |
||
irq-rtc1 |
||
irq-qdec |
||
irq-lpcomp |
||
irq-swi0 |
||
irq-swi1 |
||
irq-swi2 |
||
irq-swi3 |
||
irq-swi4 |
||
irq-swi5 |