| Electronic Components Datasheet Search |
|
AN4570 Datasheet(PDF) 20 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4570 Datasheet(HTML) 20 Page - STMicroelectronics |
|
20 / 46 page ![]() Interfacing with a non-multiplexed, asynchronous 16-bit NOR Flash memory AN4570 20/46 DocID026804 Rev 1 /** * @brief NOR BSP Wait for Ready/Busy signal. * @param hnor: Pointer to NOR handle * @param Timeout: Timeout duration * @retval None */ void HAL_NOR_MspWait(NOR_HandleTypeDef *hnor, uint32_t Timeout) { uint32_t timeout = Timeout; /* Polling on Ready/Busy signal */ while((HAL_GPIO_ReadPin(NOR_READY_BUSY_GPIO, NOR_READY_BUSY_PIN) != NOR_BUSY_STATE) && (timeout > 0)) { timeout--; } timeout = Timeout; /* Polling on Ready/Busy signal */ while((HAL_GPIO_ReadPin(NOR_READY_BUSY_GPIO, NOR_READY_BUSY_PIN) != NOR_READY_STATE) && (timeout > 0)) { timeout--; } } /** * @brief Writes an amount of data to the NOR device. * @param uwStartAddress: Write start address * @param pData: Pointer to data to be written * @param uwDataSize: Size of data to write * @retval NOR memory status */ uint8_t NOR_WriteData(uint32_t uwStartAddress, uint16_t* pData, uint32_t uwDataSize) { uint32_t index = uwDataSize; while(index > 0) |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |