RTEMS 6.1-rc5
Loading...
Searching...
No Matches
Macros

Macros

#define IS_MDMA_LEVEL_COMPLETE(__LEVEL__)
 
#define IS_MDMA_PRIORITY(__PRIORITY__)
 
#define IS_MDMA_ENDIANNESS_MODE(__ENDIANNESS__)
 
#define IS_MDMA_REQUEST(__REQUEST__)   (((__REQUEST__) == MDMA_REQUEST_SW ) || ((__REQUEST__) <= MDMA_REQUEST_SDMMC1_COMMAND_END))
 
#define IS_MDMA_SOURCE_INC(__INC__)
 
#define IS_MDMA_DESTINATION_INC(__INC__)
 
#define IS_MDMA_SOURCE_DATASIZE(__SIZE__)
 
#define IS_MDMA_DESTINATION_DATASIZE(__SIZE__)
 
#define IS_MDMA_DATA_ALIGNMENT(__ALIGNMENT__)
 
#define IS_MDMA_SOURCE_BURST(__BURST__)
 
#define IS_MDMA_DESTINATION_BURST(__BURST__)
 
#define IS_MDMA_TRANSFER_TRIGGER_MODE(__MODE__)
 
#define IS_MDMA_BUFFER_TRANSFER_LENGTH(__LENGTH__)   (((__LENGTH__) >= 0x00000001U) && ((__LENGTH__) < 0x000000FFU))
 
#define IS_MDMA_BLOCK_COUNT(__COUNT__)   (((__COUNT__) > 0U ) && ((__COUNT__) <= 4096U))
 
#define IS_MDMA_TRANSFER_LENGTH(SIZE)   (((SIZE) > 0U) && ((SIZE) <= 65536U))
 
#define IS_MDMA_BLOCK_ADDR_OFFSET(__BLOCK_ADD_OFFSET__)   (((__BLOCK_ADD_OFFSET__) > (-65536)) && ((__BLOCK_ADD_OFFSET__) < 65536))
 

Detailed Description

Macro Definition Documentation

◆ IS_MDMA_DATA_ALIGNMENT

#define IS_MDMA_DATA_ALIGNMENT (   __ALIGNMENT__)
Value:
(((__ALIGNMENT__) == MDMA_DATAALIGN_PACKENABLE ) || \
((__ALIGNMENT__) == MDMA_DATAALIGN_RIGHT ) || \
((__ALIGNMENT__) == MDMA_DATAALIGN_RIGHT_SIGNED ) || \
((__ALIGNMENT__) == MDMA_DATAALIGN_LEFT))
#define MDMA_DATAALIGN_RIGHT
Definition: stm32h7xx_hal_mdma.h:457
#define MDMA_DATAALIGN_LEFT
Definition: stm32h7xx_hal_mdma.h:460
#define MDMA_DATAALIGN_PACKENABLE
Definition: stm32h7xx_hal_mdma.h:455
#define MDMA_DATAALIGN_RIGHT_SIGNED
Definition: stm32h7xx_hal_mdma.h:458

◆ IS_MDMA_DESTINATION_BURST

#define IS_MDMA_DESTINATION_BURST (   __BURST__)
Value:
(((__BURST__) == MDMA_DEST_BURST_SINGLE ) || \
((__BURST__) == MDMA_DEST_BURST_2BEATS ) || \
((__BURST__) == MDMA_DEST_BURST_4BEATS ) || \
((__BURST__) == MDMA_DEST_BURST_8BEATS) || \
((__BURST__) == MDMA_DEST_BURST_16BEATS) || \
((__BURST__) == MDMA_DEST_BURST_32BEATS) || \
((__BURST__) == MDMA_DEST_BURST_64BEATS) || \
((__BURST__) == MDMA_DEST_BURST_128BEATS))
#define MDMA_DEST_BURST_SINGLE
Definition: stm32h7xx_hal_mdma.h:489
#define MDMA_DEST_BURST_128BEATS
Definition: stm32h7xx_hal_mdma.h:496
#define MDMA_DEST_BURST_64BEATS
Definition: stm32h7xx_hal_mdma.h:495
#define MDMA_DEST_BURST_32BEATS
Definition: stm32h7xx_hal_mdma.h:494
#define MDMA_DEST_BURST_2BEATS
Definition: stm32h7xx_hal_mdma.h:490
#define MDMA_DEST_BURST_4BEATS
Definition: stm32h7xx_hal_mdma.h:491
#define MDMA_DEST_BURST_16BEATS
Definition: stm32h7xx_hal_mdma.h:493
#define MDMA_DEST_BURST_8BEATS
Definition: stm32h7xx_hal_mdma.h:492

◆ IS_MDMA_DESTINATION_DATASIZE

#define IS_MDMA_DESTINATION_DATASIZE (   __SIZE__)
Value:
(((__SIZE__) == MDMA_DEST_DATASIZE_BYTE ) || \
((__SIZE__) == MDMA_DEST_DATASIZE_HALFWORD ) || \
((__SIZE__) == MDMA_DEST_DATASIZE_WORD ) || \
#define MDMA_DEST_DATASIZE_BYTE
Definition: stm32h7xx_hal_mdma.h:441
#define MDMA_DEST_DATASIZE_DOUBLEWORD
Definition: stm32h7xx_hal_mdma.h:444
#define MDMA_DEST_DATASIZE_HALFWORD
Definition: stm32h7xx_hal_mdma.h:442
#define MDMA_DEST_DATASIZE_WORD
Definition: stm32h7xx_hal_mdma.h:443

◆ IS_MDMA_DESTINATION_INC

#define IS_MDMA_DESTINATION_INC (   __INC__)
Value:
(((__INC__) == MDMA_DEST_INC_DISABLE ) || \
((__INC__) == MDMA_DEST_INC_BYTE ) || \
((__INC__) == MDMA_DEST_INC_HALFWORD ) || \
((__INC__) == MDMA_DEST_INC_WORD ) || \
((__INC__) == MDMA_DEST_INC_DOUBLEWORD) || \
((__INC__) == MDMA_DEST_DEC_BYTE) || \
((__INC__) == MDMA_DEST_DEC_HALFWORD) || \
((__INC__) == MDMA_DEST_DEC_WORD) || \
((__INC__) == MDMA_DEST_DEC_DOUBLEWORD))
#define MDMA_DEST_DEC_BYTE
Definition: stm32h7xx_hal_mdma.h:413
#define MDMA_DEST_INC_DISABLE
Definition: stm32h7xx_hal_mdma.h:408
#define MDMA_DEST_INC_DOUBLEWORD
Definition: stm32h7xx_hal_mdma.h:412
#define MDMA_DEST_DEC_HALFWORD
Definition: stm32h7xx_hal_mdma.h:414
#define MDMA_DEST_DEC_WORD
Definition: stm32h7xx_hal_mdma.h:415
#define MDMA_DEST_DEC_DOUBLEWORD
Definition: stm32h7xx_hal_mdma.h:416
#define MDMA_DEST_INC_WORD
Definition: stm32h7xx_hal_mdma.h:411
#define MDMA_DEST_INC_HALFWORD
Definition: stm32h7xx_hal_mdma.h:410
#define MDMA_DEST_INC_BYTE
Definition: stm32h7xx_hal_mdma.h:409

◆ IS_MDMA_ENDIANNESS_MODE

#define IS_MDMA_ENDIANNESS_MODE (   __ENDIANNESS__)
Value:
(((__ENDIANNESS__) == MDMA_LITTLE_ENDIANNESS_PRESERVE ) || \
((__ENDIANNESS__) == MDMA_LITTLE_BYTE_ENDIANNESS_EXCHANGE) || \
((__ENDIANNESS__) == MDMA_LITTLE_HALFWORD_ENDIANNESS_EXCHANGE) || \
((__ENDIANNESS__) == MDMA_LITTLE_WORD_ENDIANNESS_EXCHANGE))
#define MDMA_LITTLE_WORD_ENDIANNESS_EXCHANGE
Definition: stm32h7xx_hal_mdma.h:378
#define MDMA_LITTLE_ENDIANNESS_PRESERVE
Definition: stm32h7xx_hal_mdma.h:375
#define MDMA_LITTLE_HALFWORD_ENDIANNESS_EXCHANGE
Definition: stm32h7xx_hal_mdma.h:377
#define MDMA_LITTLE_BYTE_ENDIANNESS_EXCHANGE
Definition: stm32h7xx_hal_mdma.h:376

◆ IS_MDMA_LEVEL_COMPLETE

#define IS_MDMA_LEVEL_COMPLETE (   __LEVEL__)
Value:
(((__LEVEL__) == HAL_MDMA_FULL_TRANSFER ) || \
((__LEVEL__) == HAL_MDMA_BUFFER_TRANSFER )|| \
((__LEVEL__) == HAL_MDMA_BLOCK_TRANSFER ) || \
((__LEVEL__) == HAL_MDMA_REPEAT_BLOCK_TRANSFER ))
@ HAL_MDMA_FULL_TRANSFER
Definition: stm32h7xx_hal_mdma.h:177
@ HAL_MDMA_BUFFER_TRANSFER
Definition: stm32h7xx_hal_mdma.h:178
@ HAL_MDMA_BLOCK_TRANSFER
Definition: stm32h7xx_hal_mdma.h:179
@ HAL_MDMA_REPEAT_BLOCK_TRANSFER
Definition: stm32h7xx_hal_mdma.h:180

◆ IS_MDMA_PRIORITY

#define IS_MDMA_PRIORITY (   __PRIORITY__)
Value:
(((__PRIORITY__) == MDMA_PRIORITY_LOW ) || \
((__PRIORITY__) == MDMA_PRIORITY_MEDIUM) || \
((__PRIORITY__) == MDMA_PRIORITY_HIGH) || \
((__PRIORITY__) == MDMA_PRIORITY_VERY_HIGH))
#define MDMA_PRIORITY_HIGH
Definition: stm32h7xx_hal_mdma.h:362
#define MDMA_PRIORITY_VERY_HIGH
Definition: stm32h7xx_hal_mdma.h:363
#define MDMA_PRIORITY_MEDIUM
Definition: stm32h7xx_hal_mdma.h:361
#define MDMA_PRIORITY_LOW
Definition: stm32h7xx_hal_mdma.h:360

◆ IS_MDMA_SOURCE_BURST

#define IS_MDMA_SOURCE_BURST (   __BURST__)
Value:
(((__BURST__) == MDMA_SOURCE_BURST_SINGLE ) || \
((__BURST__) == MDMA_SOURCE_BURST_2BEATS ) || \
((__BURST__) == MDMA_SOURCE_BURST_4BEATS ) || \
((__BURST__) == MDMA_SOURCE_BURST_8BEATS) || \
((__BURST__) == MDMA_SOURCE_BURST_16BEATS) || \
((__BURST__) == MDMA_SOURCE_BURST_32BEATS) || \
((__BURST__) == MDMA_SOURCE_BURST_64BEATS) || \
((__BURST__) == MDMA_SOURCE_BURST_128BEATS))
#define MDMA_SOURCE_BURST_SINGLE
Definition: stm32h7xx_hal_mdma.h:471
#define MDMA_SOURCE_BURST_16BEATS
Definition: stm32h7xx_hal_mdma.h:475
#define MDMA_SOURCE_BURST_2BEATS
Definition: stm32h7xx_hal_mdma.h:472
#define MDMA_SOURCE_BURST_32BEATS
Definition: stm32h7xx_hal_mdma.h:476
#define MDMA_SOURCE_BURST_64BEATS
Definition: stm32h7xx_hal_mdma.h:477
#define MDMA_SOURCE_BURST_8BEATS
Definition: stm32h7xx_hal_mdma.h:474
#define MDMA_SOURCE_BURST_4BEATS
Definition: stm32h7xx_hal_mdma.h:473
#define MDMA_SOURCE_BURST_128BEATS
Definition: stm32h7xx_hal_mdma.h:478

◆ IS_MDMA_SOURCE_DATASIZE

#define IS_MDMA_SOURCE_DATASIZE (   __SIZE__)
Value:
(((__SIZE__) == MDMA_SRC_DATASIZE_BYTE ) || \
((__SIZE__) == MDMA_SRC_DATASIZE_HALFWORD ) || \
((__SIZE__) == MDMA_SRC_DATASIZE_WORD ) || \
#define MDMA_SRC_DATASIZE_WORD
Definition: stm32h7xx_hal_mdma.h:429
#define MDMA_SRC_DATASIZE_BYTE
Definition: stm32h7xx_hal_mdma.h:427
#define MDMA_SRC_DATASIZE_HALFWORD
Definition: stm32h7xx_hal_mdma.h:428
#define MDMA_SRC_DATASIZE_DOUBLEWORD
Definition: stm32h7xx_hal_mdma.h:430

◆ IS_MDMA_SOURCE_INC

#define IS_MDMA_SOURCE_INC (   __INC__)
Value:
(((__INC__) == MDMA_SRC_INC_DISABLE ) || \
((__INC__) == MDMA_SRC_INC_BYTE ) || \
((__INC__) == MDMA_SRC_INC_HALFWORD ) || \
((__INC__) == MDMA_SRC_INC_WORD ) || \
((__INC__) == MDMA_SRC_INC_DOUBLEWORD) || \
((__INC__) == MDMA_SRC_DEC_BYTE) || \
((__INC__) == MDMA_SRC_DEC_HALFWORD) || \
((__INC__) == MDMA_SRC_DEC_WORD) || \
((__INC__) == MDMA_SRC_DEC_DOUBLEWORD))
#define MDMA_SRC_DEC_WORD
Definition: stm32h7xx_hal_mdma.h:396
#define MDMA_SRC_DEC_DOUBLEWORD
Definition: stm32h7xx_hal_mdma.h:397
#define MDMA_SRC_DEC_HALFWORD
Definition: stm32h7xx_hal_mdma.h:395
#define MDMA_SRC_INC_DOUBLEWORD
Definition: stm32h7xx_hal_mdma.h:393
#define MDMA_SRC_INC_DISABLE
Definition: stm32h7xx_hal_mdma.h:389
#define MDMA_SRC_INC_WORD
Definition: stm32h7xx_hal_mdma.h:392
#define MDMA_SRC_INC_BYTE
Definition: stm32h7xx_hal_mdma.h:390
#define MDMA_SRC_DEC_BYTE
Definition: stm32h7xx_hal_mdma.h:394
#define MDMA_SRC_INC_HALFWORD
Definition: stm32h7xx_hal_mdma.h:391

◆ IS_MDMA_TRANSFER_TRIGGER_MODE

#define IS_MDMA_TRANSFER_TRIGGER_MODE (   __MODE__)
Value:
(((__MODE__) == MDMA_BUFFER_TRANSFER ) || \
((__MODE__) == MDMA_BLOCK_TRANSFER ) || \
((__MODE__) == MDMA_REPEAT_BLOCK_TRANSFER ) || \
((__MODE__) == MDMA_FULL_TRANSFER))
#define MDMA_BUFFER_TRANSFER
Definition: stm32h7xx_hal_mdma.h:346
#define MDMA_FULL_TRANSFER
Definition: stm32h7xx_hal_mdma.h:349
#define MDMA_REPEAT_BLOCK_TRANSFER
Definition: stm32h7xx_hal_mdma.h:348
#define MDMA_BLOCK_TRANSFER
Definition: stm32h7xx_hal_mdma.h:347