| 전자부품 데이터시트 검색엔진 |
|
AN4570 데이터시트(PDF) 39 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4570 데이터시트(HTML) 39 Page - STMicroelectronics |
|
39 / 46 page ![]() DocID026804 Rev 1 39/46 AN4570 Interfacing with an 8-bit NAND Flash memory 45 /* Write data to the NAND memory */ if (HAL_NAND_Write_Page(&nandHandle, &Address, nand_aTxBuffer, 1) != HAL_OK) { return NAND_ERROR; } /* Read back data from the NAND memory */ if (HAL_NAND_Read_Page(&nandHandle, &Address, nand_aRxBuffer, 1) != HAL_OK) { return NAND_ERROR; } return NAND_OK; } /** * @brief Initializes the NAND MSP. * @param None * @retval None */ void HAL_NAND_MspInit(NAND_HandleTypeDef *hnand) { GPIO_InitTypeDef GPIO_Init_Structure; /* Enable FMC clock */ __FMC_CLK_ENABLE(); /* Enable GPIOs clock */ __GPIOD_CLK_ENABLE(); __GPIOE_CLK_ENABLE(); __GPIOG_CLK_ENABLE(); /* Common GPIO configuration */ GPIO_Init_Structure.Mode = GPIO_MODE_AF_PP; GPIO_Init_Structure.Pull = GPIO_NOPULL; GPIO_Init_Structure.Speed = GPIO_SPEED_HIGH; GPIO_Init_Structure.Alternate = GPIO_AF12_FMC; /* Data D0->D7 */ |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |