Searched refs:block (Results 1 – 2 of 2) sorted by relevance
103 sdramc_block_selection_t block; /*!< The block number. */ member213 void SDRAMC_SendCommand(SDRAM_Type *base, sdramc_block_selection_t block, sdramc_command_t command);222 static inline void SDRAMC_EnableWriteProtect(SDRAM_Type *base, sdramc_block_selection_t block, bool… in SDRAMC_EnableWriteProtect() argument226 base->BLOCK[block].CM |= SDRAM_CM_WP_MASK; in SDRAMC_EnableWriteProtect()230 base->BLOCK[block].CM &= ~SDRAM_CM_WP_MASK; in SDRAMC_EnableWriteProtect()241 static inline void SDRAMC_EnableOperateValid(SDRAM_Type *base, sdramc_block_selection_t block, bool… in SDRAMC_EnableOperateValid() argument245 base->BLOCK[block].CM |= SDRAM_CM_V_MASK; in SDRAMC_EnableOperateValid()249 base->BLOCK[block].CM &= ~SDRAM_CM_V_MASK; in SDRAMC_EnableOperateValid()
169 void SDRAMC_SendCommand(SDRAM_Type *base, sdramc_block_selection_t block, sdramc_command_t command) in SDRAMC_SendCommand() argument175 base->BLOCK[block].AC |= SDRAM_AC_IMRS_MASK; in SDRAMC_SendCommand()179 base->BLOCK[block].AC |= SDRAM_AC_IP_MASK; in SDRAMC_SendCommand()183 base->BLOCK[block].AC |= SDRAM_AC_RE_MASK; in SDRAMC_SendCommand()187 base->BLOCK[block].AC &= ~SDRAM_AC_RE_MASK; in SDRAMC_SendCommand()