aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/SAMA/SAMA5D2x/sama_matrix.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/ports/SAMA/SAMA5D2x/sama_matrix.h')
-rw-r--r--os/hal/ports/SAMA/SAMA5D2x/sama_matrix.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/os/hal/ports/SAMA/SAMA5D2x/sama_matrix.h b/os/hal/ports/SAMA/SAMA5D2x/sama_matrix.h
index 52a3bb3f1..b9133a85b 100644
--- a/os/hal/ports/SAMA/SAMA5D2x/sama_matrix.h
+++ b/os/hal/ports/SAMA/SAMA5D2x/sama_matrix.h
@@ -37,6 +37,9 @@
#define NOT_SECURE_READ 0x1u
#define NOT_SECURE_WRITE 0x1u
+#define SECURE_PER FALSE
+#define NOT_SECURE_PER TRUE
+
#define NO_DEFAULT_MASTER 0x0u
#define LAST_DEFAULT_MASTER 0x1u
#define FIXED_DEFAULT_MASTER 0x2u
@@ -90,6 +93,7 @@
#ifdef __cplusplus
extern "C" {
#endif
+ bool mtxConfigPeriphSecurity(Matrix *mtxp, uint8_t id, bool mode);
void mtxConfigDefaultMaster(Matrix *mtxp, uint8_t slaveID,
uint8_t type, uint8_t masterID);
void mtxConfigSlaveSec(Matrix *mtxp, uint8_t slaveID,