dSPACE DS1103 ERP I/O Driver : Handling I/O Signals : The stm_ds1103_get_driver_func() Function

The stm_ds1103_get_driver_func() Function

The stm_ds1103_get_driver_func() function returns an I/O access function, which is used by the driver function. For example, for an ADC port, stm_ds1103_get_driver_func() returns the function stm_ds1103_drv_ADC().

If the pin signal type is not supported by the driver, the function returns a NULL value. If an error occurs during initialization, the function returns the dummy function stm_ds1103_drv_error().