Microcontroller Tools
Browse all available microcontroller tools.
Available tools
- ADC Code Left Alignment Register Mask Tool Compute adc code left alignment register mask from explicit bounded inputs.
- ADC Code To Voltage Ideal unipolar endpoint-inclusive ADC code-to-voltage conversion, where the maximum code maps to Vref.
- ADC Oversampling Bit Gain Budget Tool Return ideal independent-noise oversampling sample budget 4^b and decimation shift, without claiming actual ENOB improvement.
- ADC Reference Drift Code Sensitivity Tool Continuous ideal ADC-code sensitivity to reference voltage, excluding quantization and saturation changes.
- ADC Reference Lsb Ratio Tool Compare ideal ADC quantization widths using reference/2^bits for each converter.
- ADC Sampling Capacitor Settling Exponent Tool Calculate adc sampling capacitor settling exponent from explicit caller-supplied inputs.
- ADC Signed Differential Full Scale Gap Tool Compute adc signed differential full scale gap from explicit bounded inputs.
- Boot Vector Alignment Address Mask Tool Calculate boot vector alignment address mask from explicit caller-supplied inputs.
- Brown Out Threshold Check Compare present supply voltage with a selected brown-out threshold; hysteresis and reset timing are device-specific.
- CAN Bit Timing Calculator Calculate nominal CAN bitrate and sample point from effective prescaler and segment lengths, including the one-quantum synchronization segment.
- Circular Buffer Index Wrap a signed offset around a zero-based circular buffer without changing the stored head index.
- Consecutive Sample Debounce Filter Simulate a digital debounce filter that changes state only after a caller-selected number of consecutive differing samples.
- Dac Unipolar Zero Scale Gap Tool Calculate dac unipolar zero scale gap from explicit caller-supplied inputs.
- DMA Circular Buffer Half Transfer Index Tool Calculate dma circular buffer half transfer index from explicit caller-supplied inputs.
- DMA Fixed Source Increment Target Address Tool Compute dma fixed source increment target address from explicit bounded inputs.
- DMA Transfer Alignment Margin Tool Compute dma transfer alignment margin from explicit bounded inputs.
- Eeprom Endurance Write Rate Life Term Tool Divide a supplied per-cell write endurance by a constant write rate; wear leveling and retention are excluded.
- EEPROM Round Robin Slot Offset Map a zero-based write index to a fixed-size EEPROM slot using round-robin placement while leaving an incomplete trailing slot unused.
- Flash Endurance Remaining Remaining nominal flash erase/program cycles from a rated cycle count and tracked cycles already used.
- Flash Erased Word Zero Bit Flag Tool Compute flash erased word zero bit flag from explicit bounded inputs.
- Flash Page Crossing Write Budget Tool Calculate flash page crossing write budget from explicit caller-supplied inputs.
- Flash Programming Word Boundary Offset Tool Compute flash programming word boundary offset from explicit bounded inputs.
- GPIO Open Drain Released State Tool Compute gpio open drain released state from explicit bounded inputs.
- GPIO Pullup Active Level Label Tool Compute gpio pullup active level label from explicit bounded inputs.
- GPIO Pullup Leakage Static Gap Tool Calculate gpio pullup leakage static gap from explicit caller-supplied inputs.
- I²C Acknack Ninthbit Label Tool Compute i²c acknack ninthbit label from explicit bounded inputs.
- I²C Address Read Bit Packing Tool Calculate i²c address read bit packing from explicit caller-supplied inputs.
- I2C Bitrate Observed I²C SCL bit rate from measured high and low periods of one complete clock pulse.
- Integer Clock Divider Finder Find the bounded positive integer divisor minimizing absolute frequency error, selecting the smaller divisor on a tie.
- Intel HEX Record Generator Serialize explicit bytes as one Intel HEX record with a computed byte count and checksum, enforcing control-record shapes.
- Intel HEX Record Parser Parse one Intel HEX record and verify its byte count, two-complement checksum, record type, and control-record shape.
- Interrupt Nesting Depth Margin Tool Compare a candidate against an explicitly ordered preemption stack where smaller priorities preempt larger ones.
- Interrupt Priority Preemption Bit Split Tool Calculate interrupt priority preemption bit split from explicit caller-supplied inputs.
- Interrupt Vector Byte Offset Tool Calculate a vector table entry's byte offset and address from an explicit table layout.
- Microcontroller: ADC Code Bin Midpoint Tool Return an ideal half-open ADC quantization-bin midpoint for explicitly declared unipolar or signed two-complement codes; references span 0..Vref or -Vref..Vref.
- Microcontroller: ADC Differential Midcode Offset Tool Crosswalk an explicitly offset-binary differential ADC code to its signed midcode-relative integer; no voltage calibration or device encoding inference.
- Microcontroller: DMA Circular Buffer End Address Tool Compute exact half-open DMA buffer end and last used byte from explicit geometry, rejecting address-space overflow; empty buffers use base as unused last-byte witness.
- Microcontroller: DMA Element Count Vs Byte Count Tool Crosswalk a DMA byte budget to complete fixed-size elements while retaining remainder evidence rather than truncating silently.
- Microcontroller: Fixed Point Accumulator Guard Bit Count Tool Return the additional worst-case accumulation guard bits ceil(log2(N)) for a supplied positive count of same-format summands; excludes sign-format and saturation-policy design.
- Microcontroller: Flash Page Offset Field Tool Split an explicit region-relative flash offset into page index and within-page byte offset; not a device geometry lookup or erase-safety check.
- Microcontroller: GPIO Active Low Logical Value Tool Crosswalk one GPIO electrical level to asserted logical state under an explicit active-low flag; no register access or electrical-threshold inference.
- Microcontroller: GPIO Register Bit Band Offset Tool Compute a classic ARM bit-band alias offset from a region-relative byte offset and bit index; caller must establish that the device implements bit-banding.
- Microcontroller: I²C Seven Bit Wire Address Byte Tool Build the first seven-bit I2C address/RW wire octet, retaining the distinction from eight-bit address notation; reserved address use is not certified.
- Microcontroller: Interrupt Pending Enabled Mask Tool Partition pending interrupt bits by an explicit enable mask at fixed width, without acknowledging or reading hardware interrupts.
- Microcontroller: PWM Compare Polarity Crosswalk Tool Resolve edge-aligned ideal PWM active ticks under an explicit inversion convention, assuming compare counts active ticks directly and excluding device-specific endpoint quirks.
- Microcontroller: Register Write Clear Effect Tool Simulate one write-one-to-clear register operation over an explicit clearable mask, leaving other bits unchanged; pure data calculation, not hardware I/O.
- Microcontroller: RTC Sub Second Register Fraction Tool Convert an explicit inclusive RTC subsecond counter value to elapsed fraction under a declared up/down convention; no device-specific latch or rollover assumptions.
- Microcontroller: SPI Clock Edge Number Label Tool Label SPI CPOL/CPHA mode sampling/shift edge order under the conventional Motorola modes0..3; excludes device timing margins.
- Microcontroller: Timer Counter Inclusive Period Tool Compute an ideal up-counter period for inclusive counts zero through TOP with an explicitly supplied tick duration; excludes center-aligned modes.
- Microcontroller: Timer Prescaler Register Minus One Tool Encode an explicitly declared timer divide-by-(register+1) prescaler, validating register capacity; does not assume this convention applies to every microcontroller.
- Microcontroller: Uart Parity Word Data Mask Tool Extract UART data and an optional adjacent parity bit from an explicitly packed word, without asserting parity correctness or parsing start/stop bits.
- Motorola S-Record Parser Parse a Motorola S-record, checking its count, address width, ones-complement checksum, and record-type payload constraints.
- NVIC Priority Field Left Shift Tool Compute nvic priority field left shift from explicit bounded inputs.
- PWM Duty Count Nearest PWM active-tick count for a target duty fraction over an inclusive zero-to-period-register timer cycle.
- PWM Edge Center Aligned Resolution Tool Compare ideal up-down and edge-aligned timer cycles for a caller-supplied top count; endpoint hardware conventions may differ.
- PWM Frequency Edge-aligned PWM frequency with an inclusive auto-reload value and effective prescaler divisor. On timers whose PSC register divides by PSC+1, enter PSC+1.
- Register Field Decoder Extract an unsigned 32-bit register field using exact integer bit operations and explicit field bounds.
- Register Field Encoder Replace an unsigned 32-bit register field using exact integer bit operations and explicit field bounds.
- Register Field Reset Value Extractor Tool Compute register field reset value extractor from explicit bounded inputs.
- Register Read Clear Observation Mask Tool Compute register read clear observation mask from explicit bounded inputs.
- RTC Subsecond Downcounter Elapsed Tool Calculate rtc subsecond downcounter elapsed from explicit caller-supplied inputs.
- Sleep Average Current Time-weighted average current of one active/sleep cycle; peripheral leakage outside these measured currents is not inferred.
- SPI Chip Select Idle Slack Tool Compare supplied idle timing with an explicit device requirement in the same time units.
- SPI Cpha First Edge Action Token Tool Compute spi cpha first edge action token from explicit bounded inputs.
- SPI Idle Level Sample Sign Tool Resolve the sampling edge from supplied SPI CPOL/CPHA bits.
- SPI Interword Idle Clock Count Tool Compute spi interword idle clock count from explicit bounded inputs.
- SPI Transfer Time Ideal SPI clocking time for fixed-length frames, excluding chip-select setup, inter-frame delays and software overhead.
- SPI Word Padding Bit Count Tool Calculate spi word padding bit count from explicit caller-supplied inputs.
- Tick Counter Wrap Safe Half Range Tool Calculate tick counter wrap safe half range from explicit caller-supplied inputs.
- Timer Capture Counter Wrap Delta Tool Compute timer capture counter wrap delta from explicit bounded inputs.
- Timer Capture Overflow Age Term Tool Calculate timer capture overflow age term from explicit caller-supplied inputs.
- Timer Compare Frequency Compare-event rate for an up-counter that resets after an inclusive compare value. Enter the effective prescaler divisor; devices with a PSC register may divide by PSC+1.
- Timer Compare Wrap Latency Budget Tool Modular compare horizon and strict latency slack under an explicit equality policy.
- Timer Overflow Period Overflow interval for a free-running N-bit timer with a zero-based counter. Prescaler is the effective clock divisor, not necessarily the raw register value.
- Timer Prescale Resolution Tool Ideal timer tick period using an explicit prescaler divisor and clock, without register encoding assumptions.
- Timer Prescaler Counter Bit Budget Tool Calculate timer prescaler counter bit budget from explicit caller-supplied inputs.
- Timer Tick Period Timer tick interval from source clock and the effective prescaler divisor, before rollover or compare logic. If a device uses a PSC register with divisor PSC+1, enter PSC+1.
- Timer Up Down Counter Turnaround Period Tool Compute timer up down counter turnaround period from explicit bounded inputs.
- UART Baud Divider Ideal UART oversampling divider before register quantization from peripheral clock, baud rate and oversampling factor.
- Uart Break Detection Bit Budget Tool Compute uart break detection bit budget from explicit bounded inputs.
- Uart Clock Error Sign Tool Report signed baud error against a caller-supplied receiver tolerance, without hardware recommendations.
- UART Frame Bits Bits on the wire per UART character from start, data, optional parity and stop bit counts; excludes idle time.
- Uart Oversampling Divider Error Tool Calculate uart oversampling divider error from explicit caller-supplied inputs.
- Uart Parity Frame Bit Contribution Tool Calculate uart parity frame bit contribution from explicit caller-supplied inputs.
- Uart Register Divisor Byte Split Tool Split a caller-computed unsigned 16-bit UART divisor register value into high and low bytes; no hardware clock model is assumed.
- Uart Stop Bit Half Slot Budget Tool Asynchronous frame budget with one start bit and explicitly supplied half-bit stop slots.
- Uart Stopbit Half Bit Duration Tool Compute uart stopbit half bit duration from explicit bounded inputs.
- Watchdog Clock Tolerance Interval Tool Compute watchdog clock tolerance interval from explicit bounded inputs.
- Watchdog Pre Scaler Setting Tool Choose the smallest caller-supported watchdog prescaler keeping tick frequency at or below a supplied limit; no device register encoding is invented.
- Watchdog Refresh Window Membership Tool Compute watchdog refresh window membership from explicit bounded inputs.
- Watchdog Timeout Nominal watchdog timeout for an inclusive reload counter. Prescaler is the effective watchdog-clock divisor; verify the device's register encoding and oscillator tolerance.
- Watchdog Window Center Tool Calculate watchdog window center from explicit caller-supplied inputs.