diff options
author | danicampora <danicampora@gmail.com> | 2015-03-15 10:05:15 +0100 |
---|---|---|
committer | danicampora <danicampora@gmail.com> | 2015-03-16 00:42:05 +0100 |
commit | 0d0646d915b51191ce55cbb2750e5422ee1766db (patch) | |
tree | 5beed462e80f529eee10a7cab2c9f45ae9999d16 /cc3200/hal/sdhost.c | |
parent | dac79324b5a49a81435a9dafc389353a4fa8739b (diff) |
cc3200: Update HAL to SDK release version 1.1.0.
Diffstat (limited to 'cc3200/hal/sdhost.c')
-rw-r--r-- | cc3200/hal/sdhost.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cc3200/hal/sdhost.c b/cc3200/hal/sdhost.c index daae8d2e6..ba98e359e 100644 --- a/cc3200/hal/sdhost.c +++ b/cc3200/hal/sdhost.c @@ -512,7 +512,7 @@ SDHostIntStatus(unsigned long ulBase) // // Get DMA done interrupt status // - ulIntStatus = HWREG(APPS_CONFIG_BASE + APPS_CONFIG_O_DMA_DONE_INT_MASK_SET); + ulIntStatus = HWREG(APPS_CONFIG_BASE + APPS_CONFIG_O_DMA_DONE_INT_STS_RAW); ulIntStatus = (ulIntStatus << 30); // @@ -562,7 +562,7 @@ SDHostIntClear(unsigned long ulBase,unsigned long ulIntFlags) //! \param ulErrMask is the bit mask of card status errors to be enabled //! //! This function sets the card status error mask for response type R1, R1b, -//! R5, R5b and R6 response. The parameter \ulErrMask is the bit mask of card +//! R5, R5b and R6 response. The parameter \e ulErrMask is the bit mask of card //! status errors to be enabled, if the corresponding bits in the 'card status' //! field of a respose are set then the host controller indicates a card error //! interrupt status. Only bits referenced as type E (error) in status field in @@ -732,7 +732,7 @@ SDHostBlockCountSet(unsigned long ulBase, unsigned short ulBlkCount) // // Set the number of blocks // - HWREG(ulBase + MMCHS_O_BLK) |= ((ulRegVal & 0x0000FFFF)| + HWREG(ulBase + MMCHS_O_BLK) = ((ulRegVal & 0x0000FFFF)| (ulBlkCount << 16)); } |