S32 SDK
trgmux_driver.h File Reference
#include "trgmux_hal.h"

Go to the source code of this file.

Data Structures

struct  trgmux_inout_mapping_config_t
 Configuration structure for pairing source triggers with target modules. More...
 
struct  trgmux_user_config_t
 User configuration structure for the TRGMUX driver. More...
 

Functions

status_t TRGMUX_DRV_Init (const uint32_t instance, const trgmux_user_config_t *const trgmuxUserConfig)
 Initialize a TRGMUX instance for operation. More...
 
status_t TRGMUX_DRV_Deinit (const uint32_t instance)
 Reset to default values the source triggers corresponding to all target modules, if none of the target modules is locked. More...
 
status_t TRGMUX_DRV_SetTrigSourceForTargetModule (const uint32_t instance, const trgmux_trigger_source_t triggerSource, const trgmux_target_module_t targetModule)
 Configure a source trigger for a selected target module. More...
 
trgmux_trigger_source_t TRGMUX_DRV_GetTrigSourceForTargetModule (const uint32_t instance, const trgmux_target_module_t targetModule)
 Get the source trigger configured for a target module. More...
 
void TRGMUX_DRV_SetLockForTargetModule (const uint32_t instance, const trgmux_target_module_t targetModule)
 Locks the TRGMUX register of a target module. More...
 
bool TRGMUX_DRV_GetLockForTargetModule (const uint32_t instance, const trgmux_target_module_t targetModule)
 Get the Lock bit status of the TRGMUX register of a target module. More...