Crate teensy40

Source
Expand description

Teensy 4.0 Development Board

System configuration

  • LED on pin 13
  • UART2 allocated for a debug console on pins 14 and 15
  • GPT1 is the alarm source

Modulesยง

dma_config ๐Ÿ”’
Static configurations for DMA channels.
fcb ๐Ÿ”’
FlexSPI Configuration Block (FCB)
io ๐Ÿ”’

Structsยง

Teensy40 ๐Ÿ”’
Teensy 4 platform

Constantsยง

FAULT_RESPONSE ๐Ÿ”’
What should we do if a process faults?
FCB_SIZE ๐Ÿ”’
NUM_PROCS ๐Ÿ”’
Number of concurrent processes this platform supports

Staticsยง

CHIP ๐Ÿ”’
FCB_BUFFER ๐Ÿ”’
Buffer between FCB and IVT
PROCESSES ๐Ÿ”’
Actual process memory
PROCESS_PRINTER ๐Ÿ”’
STACK_BUFFER ๐Ÿ”’
Space for the stack buffer

Functionsยง

mainโš 
Main function called after RAM initialized.
set_arm_clock ๐Ÿ”’
Set the ARM clock frequency to 600MHz
start ๐Ÿ”’ โš 
This is in a separate, inline(never) function so that its stack frame is removed when this function returns. Otherwise, the stack space used for these static_inits is wasted.

Type Aliasesยง

Chip ๐Ÿ”’