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

Go to the source code of this file.

Macros

#define TRGMUX_NUM_TARGET_MODULES   ((uint8_t)(sizeof(s_trgmuxTargetModule)/sizeof(trgmux_target_module_t)))
 
#define TRGMUX_NUM_SEL_BITFIELDS_PER_REG   (4U)
 

Functions

status_t TRGMUX_HAL_Init (TRGMUX_Type *const base)
 Restore the TRGMUX module to reset value. More...
 
void TRGMUX_HAL_SetTrigSourceForTargetModule (TRGMUX_Type *const base, const trgmux_trigger_source_t triggerSource, const trgmux_target_module_t targetModule)
 Configures a source trigger for a target module. More...
 
trgmux_trigger_source_t TRGMUX_HAL_GetTrigSourceForTargetModule (const TRGMUX_Type *const base, const trgmux_target_module_t targetModule)
 Get the source trigger configured for a target module. More...
 
void TRGMUX_HAL_SetLockForTargetModule (TRGMUX_Type *const base, const trgmux_target_module_t targetModule)
 Lock the TRGMUX register of a target module. More...
 
bool TRGMUX_HAL_GetLockForTargetModule (const TRGMUX_Type *const base, const trgmux_target_module_t targetModule)
 Get the Lock bit status of the TRGMUX register of a target module. More...
 

Macro Definition Documentation

#define TRGMUX_NUM_SEL_BITFIELDS_PER_REG   (4U)

Definition at line 45 of file trgmux_hal.c.

#define TRGMUX_NUM_TARGET_MODULES   ((uint8_t)(sizeof(s_trgmuxTargetModule)/sizeof(trgmux_target_module_t)))

Definition at line 43 of file trgmux_hal.c.