304 uint8_t resolution_bits,
305 uint32_t reference_mv);
364 uint8_t
byte, uint32_t flags);
375 bool start_failure,
bool hold_drain);
396 uint8_t* registers,
size_t length);
428 uint8_t* memory,
size_t length,
520 uint32_t period_ticks);
531 const uint16_t* samples,
size_t count,
532 uint8_t resolution_bits,
533 uint32_t reference_mv);
544 size_t sample_count);
Reviewed ADC single-shot and low-rate polling scans.
struct nx_adc_port nx_adc_port_t
Static EXTI line bindings, bounded event storage and drain.
struct nx_exti_port nx_exti_port_t
Full physical Flash geometry and explicit bounded regions.
struct nx_flash_port nx_flash_port_t
Fixed GPIO authorization masks and bounded port operations.
struct nx_gpio_port nx_gpio_port_t
Address endpoints, repeated START and explicit STOP settlement.
struct nx_i2c_endpoint nx_i2c_endpoint_t
struct nx_i2c_port nx_i2c_port_t
nx_result_t nx_native_adc_configure(const uint16_t *samples, size_t count, uint8_t resolution_bits, uint32_t reference_mv)
Configure fixed ADC raw-count sequence and format.
const nx_spi_port_t *const nx_native_spi_port
nx_result_t nx_native_spi_configure(uint8_t *registers, size_t length)
Configure a fixed SPI echo or register-file model.
const nx_watchdog_port_t *const nx_native_watchdog
const nx_i2c_port_t *const nx_native_i2c_port
nx_result_t nx_native_clock_configure(bool enabled, nx_time_us_t now)
Switch host model to a deterministic clock domain.
const nx_spi_endpoint_t *const nx_native_spi
const nx_adc_port_t *const nx_native_adc
void nx_native_watchdog_model_boot(const nx_watchdog_port_t *binding, uint32_t causes)
Operate on the selected Native model face only.
nx_result_t nx_native_flash_configure(uint8_t *memory, const nx_flash_geometry_t *geometry)
Configure physical-geometry RAM model, clearly nonpersistent.
nx_result_t nx_native_exti_emit(uint8_t line, nx_exti_edge_t edge)
Inject a timestamped selected edge fact.
nx_result_t nx_native_exti_model_emit(const nx_exti_port_t *binding, uint8_t line, nx_exti_edge_t edge)
Operate on the selected Native model face only.
void nx_native_spi_model_fault(const nx_spi_port_t *binding, size_t fail_after, bool busy)
Operate on the selected Native model face only.
const nx_exti_port_t *const nx_native_exti
void nx_native_spi_model_drain_hold(const nx_spi_port_t *binding, bool hold)
Inject inability to prove SPI hardware drain.
const nx_gpio_port_t *const nx_native_gpio
Fixed model bindings; no allocation, lookup, probe or construction.
void nx_native_spi_fault(size_t fail_after, bool busy)
Inject bounded SPI partial failure or controller occupancy.
void nx_native_i2c_model_fault(const nx_i2c_port_t *binding, nx_result_t result, bool stuck)
Operate on the selected Native model face only.
nx_result_t nx_native_uart_model_configure(const nx_uart_port_t *binding, const nx_native_uart_config_t *config)
Operate on the selected Native model face only.
nx_result_t nx_native_flash_model_configure(const nx_flash_port_t *binding, uint8_t *memory, const nx_flash_geometry_t *geometry)
Operate on the selected Native model face only.
void nx_native_flash_fault(size_t pulse_count)
Inject program/erase failure after complete modeled pulses.
nx_result_t nx_native_pwm_model_configure(const nx_pwm_port_t *binding, uint32_t tick_hz, uint32_t period_ticks)
Operate on the selected Native model face only.
uint32_t nx_native_gpio_output(void)
Observe output state for a host behavioral assertion.
void nx_native_uart_model_fault(const nx_uart_port_t *binding, bool start_failure, bool hold_drain)
Operate on the selected Native model face only.
bool nx_native_watchdog_model_expired(const nx_watchdog_port_t *binding)
Operate on the selected Native model face only.
bool nx_native_spi_model_cs_active(const nx_spi_endpoint_t *binding)
Operate on the selected Native model face only.
const nx_flash_port_t *const nx_native_flash
nx_result_t nx_native_pwm_configure(uint32_t tick_hz, uint32_t period_ticks)
Configure fixed PWM model timer facts after writer quiescence.
nx_result_t nx_native_exti_model_configure(const nx_exti_port_t *binding, uint8_t line, nx_exti_edge_t edge, nx_exti_event_t *events, size_t capacity)
Operate on the selected Native model face only.
nx_result_t nx_native_exti_configure(uint8_t line, nx_exti_edge_t edge, nx_exti_event_t *events, size_t capacity)
Configure exact storage for one static EXTI line.
void nx_native_flash_model_fault(const nx_flash_port_t *binding, size_t pulse_count)
Operate on the selected Native model face only.
size_t nx_native_uart_transmitted(void)
Observe captured TX bytes.
void nx_native_i2c_fault(nx_result_t result, bool stuck)
Inject NACK, arbitration loss or a stuck bus.
void nx_native_adc_model_fault(const nx_adc_port_t *binding, size_t sample_count)
Operate on the selected Native model face only.
void nx_native_uart_irq_step(void)
Execute one deterministic TX IRQ byte/TC event.
nx_result_t nx_native_adc_model_configure(const nx_adc_port_t *binding, const uint16_t *samples, size_t count, uint8_t resolution_bits, uint32_t reference_mv)
Operate on the selected Native model face only.
const nx_i2c_endpoint_t *const nx_native_i2c
nx_result_t nx_native_i2c_configure(uint8_t *memory, size_t length, uint8_t address)
Configure one 7-bit-address register-file I2C model.
bool nx_native_spi_cs_active(void)
Check the modeled CS level after a transaction.
uint32_t nx_native_gpio_model_output(const nx_gpio_port_t *binding)
Operate on the selected Native model face only.
const nx_uart_port_t *const nx_native_uart
void nx_native_uart_model_irq_step(const nx_uart_port_t *binding)
Operate on the selected Native model face only.
nx_result_t nx_native_gpio_configure(uint32_t mask, uint32_t initial)
Configure the fixed GPIO model after writer quiescence.
nx_result_t nx_native_uart_configure(const nx_native_uart_config_t *config)
Configure exact RX/TX fixture capacities on the fixed UART.
nx_result_t nx_native_clock_advance(uint64_t duration_us)
Advance deterministic time without an implicit hardware IRQ.
nx_result_t nx_native_i2c_model_configure(const nx_i2c_endpoint_t *binding, uint8_t *memory, size_t length, uint8_t address)
Operate on the selected Native model face only.
nx_result_t nx_native_uart_model_irq_configure(const nx_uart_port_t *binding, const nx_irq_policy_t *policy, const nx_irq_source_t *source)
Copy explicit IRQ facts into a quiescent host UART model.
void nx_native_spi_model_irq_step(const nx_spi_port_t *binding)
Inject one bounded SPI byte/idle event on the exact Native bus.
void nx_native_spi_model_async_configure(const nx_spi_port_t *binding, bool automatic_irq)
Choose explicit or automatic modeled SPI IRQ stepping.
nx_result_t nx_native_uart_model_idle(const nx_uart_port_t *binding)
Inject UART IDLE and publish its current valid byte prefix.
nx_result_t nx_native_uart_model_receive(const nx_uart_port_t *binding, uint8_t byte, uint32_t flags)
Operate on the selected Native model face only.
void nx_native_uart_fault(bool start_failure, bool hold_drain)
Configure start failure or inability to prove hardware drain.
nx_result_t nx_native_uart_receive(uint8_t byte, uint32_t flags)
Inject one RX IRQ fact into bounded selected-profile storage.
nx_result_t nx_native_uart_tx_validate(void *context, const nx_uart_tx_request_t *request)
Validate exact Native TX context for selected RS485 binding.
nx_result_t nx_native_adc_model_trigger(const nx_adc_port_t *binding)
Inject one ADC timer-trigger scan into a free selected block.
void nx_native_watchdog_boot(uint32_t causes)
Reset the watchdog fixture as a simulated new boot.
nx_result_t nx_native_spi_model_configure(const nx_spi_endpoint_t *binding, uint8_t *registers, size_t length)
Operate on the selected Native model face only.
const nx_pwm_port_t *const nx_native_pwm
void nx_native_gpio_input(uint32_t value)
Inject one GPIO input snapshot in the deterministic model.
size_t nx_native_uart_model_transmitted(const nx_uart_port_t *binding)
Operate on the selected Native model face only.
void nx_native_adc_fault(size_t sample_count)
Inject ADC failure after a prefix of complete samples.
void nx_native_gpio_model_input(const nx_gpio_port_t *binding, uint32_t value)
Operate on the selected Native model face only.
bool nx_native_watchdog_expired(void)
Observe expiration of the enabled deterministic IWDG.
Single-executor polling SPI endpoints and complete CS transactions.
struct nx_spi_port nx_spi_port_t
struct nx_spi_endpoint nx_spi_endpoint_t
nx_result_t
Operation result; success at submission means admission only.
Edge facts; timestamp precision and coalescing are provider-specific.
Read-only physical geometry; platform reserves no product storage.
Immutable CPU and kernel facts for cold wake binding.
Actual publisher facts read before attaching any borrowed sink.
UART storage belongs to the fixture until port stop and IRQ quiescence.
nx_uart_rx_profile_t profile
Caller-owned TX descriptor; initialize base before first prepare.
uint64_t nx_time_us_t
Microseconds in one boot/clock domain; no wall-clock semantics.
Fixed timer/channel PWM with one shared base configuration.
struct nx_pwm_port nx_pwm_port_t
IRQ TX requests and independently budgeted byte/event reception.
struct nx_uart_port nx_uart_port_t
Irreversible IWDG effects and neutral hardware reset causes.
struct nx_watchdog_port nx_watchdog_port_t