Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN4570 Datasheet(PDF) 20 Page - STMicroelectronics

Part # AN4570
Description  This application note describes how to use the high-density
PDF  46 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4570 Datasheet(HTML) 20 Page - STMicroelectronics

Back Button AN4570 Datasheet HTML 16Page - STMicroelectronics AN4570 Datasheet HTML 17Page - STMicroelectronics AN4570 Datasheet HTML 18Page - STMicroelectronics AN4570 Datasheet HTML 19Page - STMicroelectronics AN4570 Datasheet HTML 20Page - STMicroelectronics AN4570 Datasheet HTML 21Page - STMicroelectronics AN4570 Datasheet HTML 22Page - STMicroelectronics AN4570 Datasheet HTML 23Page - STMicroelectronics AN4570 Datasheet HTML 24Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 20 / 46 page
background image
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)



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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