summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValeriy Van <[email protected]>2018-03-02 11:22:32 +0100
committerValeriy Van <[email protected]>2018-03-02 11:22:32 +0100
commitf4a36fa6e32cac8d2af6f7c40ee788a5ced5959d (patch)
treeafbbb0459359b499fc2dc2f3641d86b25ef7f0de
parentb9c2acba8721541e3a295e57f44b4504ab9e8d52 (diff)
Fixing shift operation in enum declaration
-rw-r--r--bsp/imxrt1052-evk/Libraries/drivers/fsl_aipstz.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/bsp/imxrt1052-evk/Libraries/drivers/fsl_aipstz.h b/bsp/imxrt1052-evk/Libraries/drivers/fsl_aipstz.h
index b98fdafc8d..180f5ffee9 100644
--- a/bsp/imxrt1052-evk/Libraries/drivers/fsl_aipstz.h
+++ b/bsp/imxrt1052-evk/Libraries/drivers/fsl_aipstz.h
@@ -66,9 +66,9 @@ typedef enum _aipstz_master {
/*! @brief List of AIPSTZ peripheral access control configuration.*/
typedef enum _aipstz_peripheral_access_control {
kAIPSTZ_PeripheralAllowUntrustedMaster = 1U,
- kAIPSTZ_PeripheralWriteProtected = (1U < 1),
- kAIPSTZ_PeripheralRequireSupervisor = (1U < 2),
- kAIPSTZ_PeripheralAllowBufferedWrite = (1U < 2)
+ kAIPSTZ_PeripheralWriteProtected = (1U << 1),
+ kAIPSTZ_PeripheralRequireSupervisor = (1U << 2),
+ kAIPSTZ_PeripheralAllowBufferedWrite = (1U << 2)
} aipstz_peripheral_access_control_t;
/*! @brief List of AIPSTZ peripherals. Organized by register offset for higher 32 bits, width for the 8-15 bits and shift for lower 8 bits.*/