XMC Peripheral Library for XMC4000 Family
XMC_POSIF_HSC_CONFIG_t Struct Reference

#include <xmc_posif.h>

Detailed Description

Defines POSIF hall sensor control initialization data structure. Use type XMC_POSIF_HSC_CONFIG_t for this data structure. It used to initialize hall sensor mode configuration using PCONF register.

Field Documentation

◆ disable_idle_signal

uint32_t disable_idle_signal

Should idle signal be disabled upon wrong hall event?

◆ external_error_enable

uint32_t external_error_enable

Should external errors lead to Wrong Hall event?

◆ external_error_level

uint32_t external_error_level

What should be the active level of external error signal?

◆ external_error_port

uint32_t external_error_port

Of the 4 external error ports, which one is to be considered?

◆ sampling_trigger

uint32_t sampling_trigger

Of HSDA and HSDB, which one is to be used to trigger POSIF to sample hall pattern?

◆ sampling_trigger_edge

uint32_t sampling_trigger_edge

Which edge of the sampling trigger signal is to be considered?


The documentation for this struct was generated from the following file: