Atmel Tools Device Files

Atmel Tools Device Files (.atdf) are parsed to produce a specific set of typed objects listed here.

Device variants

AtmelToolsDeviceFiles.VariantType

Describes a specific package for a device.

  • ordercode::String

  • package::String

  • pinout::Union{Nothing, String}

  • speedmax::Int64

  • tempmax::Float64

  • tempmin::Float64

  • vccmax::Float64

  • vccmin::Float64

source

Device summary

This section summarizes a device's architecture, family, name, and memory layout.

AtmelToolsDeviceFiles.DeviceType

Describes a device

  • architecture::String

  • family::String

  • name::String

  • address_spaces::Vector{AtmelToolsDeviceFiles.AdressSpace}: See also AdressSpace.

  • peripherals::Vector{AtmelToolsDeviceFiles.DeviceModule}: See also DeviceModule.

  • interrupts::Vector{AtmelToolsDeviceFiles.Interrupt}: See also Interrupt.

  • interfaces::Vector{AtmelToolsDeviceFiles.Interface}: See also Interface.

  • property_groups::Vector{AtmelToolsDeviceFiles.PropertyGroup}: See also PropertyGroup.

  • parameters::Vector{AtmelToolsDeviceFiles.Parameter}: See also Parameter.

source
AtmelToolsDeviceFiles.InstanceType

Describes an instance of a peripheral module.

  • name::String

  • register_group::Union{Nothing, AtmelToolsDeviceFiles.RegisterGroup}: See also RegisterGroup.

  • signals::Vector{AtmelToolsDeviceFiles.Signal}: See also Signal.

  • parameters::Vector{AtmelToolsDeviceFiles.Parameter}: See also Parameter.

source
AtmelToolsDeviceFiles.SignalType

Describes a signal for a peripheral module.

  • function_::Union{Nothing, String}

  • group::String

  • index::Union{Nothing, UInt64}

  • pad::String

  • field::Union{Nothing, String}

source

Peripheral modules

This contains the extended description of available peripheral modules.

AtmelToolsDeviceFiles.PeripheralRegisterType

Describes a register related to a peripheral.

  • caption::Union{Nothing, String}

  • initval::Union{Nothing, UInt64}

  • name::String

  • offset::UInt64

  • rw::Union{Nothing, String}

  • size::Int64

  • bitfields::Vector{AtmelToolsDeviceFiles.PeripheralBitField}: See also PeripheralBitField.

  • modes::Vector{AtmelToolsDeviceFiles.RegisterMode}: See also RegisterMode.

source

Pinouts

This describes the available pinouts for a device.

Index