S32 SDK
trgmux_driver.c File Reference
#include "trgmux_driver.h"
#include <stddef.h>

Go to the source code of this file.

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...
 

Variables

static TRGMUX_Type *const s_trgmuxBase [TRGMUX_INSTANCE_COUNT] = TRGMUX_BASE_PTRS
 Table of base addresses for TRGMUX instances. More...
 

Variable Documentation

TRGMUX_Type* const s_trgmuxBase[TRGMUX_INSTANCE_COUNT] = TRGMUX_BASE_PTRS
static

Table of base addresses for TRGMUX instances.

Definition at line 48 of file trgmux_driver.c.