亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? template.h

?? 嵌入式單片機(jī)下可做對(duì)Intel flash編程的代碼
?? H
?? 第 1 頁(yè) / 共 3 頁(yè)
字號(hào):
 *
 * Description:   
 *
 *    This procedure is called to program the protection register on
 *    the flash device at the specified location with the specified data
 *    value.  See the flash device datasheet for specific details on this
 *    command.
 *
 * Parameters:
 *
 *    IN      location - the protection register location on the flash
 *                       device to be programmed.
 *
 *    IN      value    - the data item to be programmed.
 *
 *    IN      returnSR - flag to indicate whether the device status register
 *                       value should be returned by this function.
 *
 * Returns:   
 *
 *    TMPL_Status - includes function return status defined by enum
 *                  TMPL_CommandStat and optionally the flash device
 *                  status register value.
 *
 * Assumptions:
 *
 *    NONE
 *
 ***************************************************************************/
TMPL_Status TMPL_ProgramProtection ( UINT32 location, 
                                     TMPL_FDATA value,
                                     UINT8 returnSR );



/****************************************************************************
 *
 * TMPL_ProgramSuspend
 *
 * Description:   
 *
 *    This procedure is called to issue the program suspend command to
 *    the flash device.  See the flash device datasheet for specific details 
 *    on this command.
 *
 * Parameters:
 *
 *    IN      blocknum - the block number on the device.
 *
 *    IN      returnSR - flag to indicate whether the device status register
 *                       value should be returned by this function.
 *
 * Returns:   
 *
 *    TMPL_Status - includes function return status defined by enum
 *                  TMPL_CommandStat and optionally the flash device
 *                  status register value.
 *
 * Assumptions:
 *
 *    When this function is called the device is currently in the program
 *    mode for the block identified.
 *
 ***************************************************************************/
TMPL_Status TMPL_ProgramSuspend ( UINT16 blocknum,
                                  UINT8 returnSR );


/****************************************************************************
 *
 * TMPL_Query
 *
 * Description:   
 *
 *    This procedure is called to issue the query command to
 *    the flash device.  See the flash device datasheet for specific details 
 *    on this command.
 *
 * Parameters:
 *
 *    OUT      *query - pointer to query structure
 *
 * Returns:   
 *
 *    TMPL_Status - includes function return status defined by enum
 *                  TMPL_CommandStat
 *
 * Assumptions:
 *
 *    NONE
 *
 ***************************************************************************/
TMPL_Status TMPL_Query( struct TMPL_QueryData *query );


/****************************************************************************
 *
 * TMPL_ReadBlockStatus
 *
 * Description:   
 *
 *    This procedure is called to read the status for the specified block
 *    from the flash device.  See the flash device datasheet for specific 
 *    details on this command.
 *
 * Parameters:
 *
 *    IN      blocknum - the block number on the device.
 *
 *    OUT     blockstat- the status of the block as: unlocked, locked, 
 *                       or locked down.
 *
 * Returns:   
 *
 *    TMPL_Status - includes function return status defined by enum 
 *                  TMPL_CommandStat.
 *
 * Assumptions:
 *
 *    NONE
 *
 ***************************************************************************/
TMPL_Status TMPL_ReadBlockStatus ( UINT16    blocknum, 
                                   TMPL_FDATA_PTR blockstat );


/****************************************************************************
 *
 * TMPL_ReadDeviceID
 *
 * Description:   
 *
 *    This procedure is called to read the status for the specified block
 *    from the flash device.  See the flash device datasheet for specific 
 *    details on this command.
 *
 * Parameters:
 *
 *    OUT     mcode    - the manufacturer code.
 *
 *    OUT     deviceid - the device id.
 *
 * Returns:   
 *
 *    TMPL_Status - includes function return status defined by enum
 *                  TMPL_CommandStat.
 *
 * Assumptions:
 *
 *    NONE
 *
 ***************************************************************************/
TMPL_Status TMPL_ReadDeviceID ( UINT16_PTR mcode, 
                                UINT16_PTR deviceid ); 


/****************************************************************************
 *
 * TMPL_ReadF
 *
 * Description:   
 *
 *    This procedure is called to read a single data item directly from the 
 *    specified device address.  This function is used internally by the
 *    flash template api.  Clients that need to read data from the flash
 *    device should use the TMPL_ReadFlash command.  See the flash device 
 *    datasheet for specific details on reading flash data.
 *
 * Parameters:
 *
 *    IN      address  - the flash address to be read from.
 *
 *    OUT     value    - the flash data read from the device.
 *
 * Returns:   
 *
 *    NONE
 *
 * Assumptions:
 *
 *    The flash device is in the READ_ARRAY mode when this function is
 *    called.
 *
 ***************************************************************************/
void TMPL_ReadF( UINT32 address, 
                 TMPL_FDATA_PTR value );


/****************************************************************************
 *
 * TMPL_ReadFlash
 *
 * Description:   
 *
 *    This procedure is called to read one or more data items from 
 *    the flash device at the specified starting address.  See the flash 
 *    device datasheet for specific details on reading flash data.
 *
 * Parameters:
 *
 *    IN      address  - the starting device address.
 *
 *    OUT     buffer   - the buffer to contain the data items read.
 *
 *    IN      numbytes - the number of data items to read.
 *
 *    IN      returnSR - flag to indicate whether the device status register
 *                       value should be returned by this function.
 *
 * Returns:   
 *
 *    TMPL_Status - includes function return status defined by enum
 *                  TMPL_CommandStat and optionally the flash device
 *                  status register value.
 *
 * Assumptions:
 *
 *    NONE
 *
 ***************************************************************************/
TMPL_Status TMPL_ReadFlash ( UINT32    address, 
                             UINT8_PTR buffer, 
                             UINT32    numbytes,
                             UINT8 returnSR );


/****************************************************************************
 *
 * TMPL_ReadProtection
 *
 * Description:   
 *
 *    This procedure is called to read the protection register value on
 *    the flash device from the specified location.  See the flash device 
 *    datasheet for specific details on this command.
 *
 * Parameters:
 *
 *    IN      location - the protection register location on the flash
 *                       device to be read from. 
 *
 *    OUT     value    - the data item read from the register.
 *
 * Returns:   
 *
 *    TMPL_Status - includes function return status defined by enum
 *                  TMPL_CommandStat.
 *
 * Assumptions:
 *
 *    NONE
 *
 ***************************************************************************/
TMPL_Status TMPL_ReadProtection ( UINT32    location, 
                                  TMPL_FDATA_PTR value );


/****************************************************************************
 *
 * TMPL_ReadStatus
 *
 * Description:   
 *
 *    This procedure is called to read the status register value from
 *    the flash device.  See the flash device datasheet for specific details
 *    on this command.
 *
 * Parameters:
 *
 *    NONE
 *
 * Returns:   
 *
 *    TMPL_FDATA - the status register value read from the device.
 *
 * Assumptions:
 *
 *    NONE
 *
 ***************************************************************************/
TMPL_FDATA TMPL_ReadStatus ( void );


/****************************************************************************
 *
 * TMPL_Resume
 *
 * Description:   
 *
 *    This procedure is called to issue the resume command to the flash
 *    device for the specified block. See the flash device datasheet for
 *    specific details on this command.
 *
 * Parameters:
 *
 *    IN      blocknum - the block number to resume.
 *
 *    IN      returnSR - flag to indicate whether the device status register
 *                       value should be returned by this function.
 *
 * Returns:   
 *
 *    TMPL_Status - includes function return status defined by enum
 *                  TMPL_CommandStat and optionally the flash device
 *                  status register value.
 *
 * Assumptions:
 *
 *    The block indicated was previously program suspended or erase 
 *    suspended.
 *
 ***************************************************************************/
TMPL_Status TMPL_Resume ( UINT16 blocknum,
                          UINT8 returnSR );


/****************************************************************************
 *
 * TMPL_SecExtendedQuery
 *
 * Description:   
 *
 *    This procedure is called to retrieve the secondary extended query
 *    data from the flash device.  See the flash device datasheet for
 *    specific details on this command.
 *
 * Parameters:
 *
 *    OUT      *secextquery - pointer to secondary extended query structure
 *
 * Returns:   
 *
 *    TMPL_Status - includes function return status defined by enum
 *                  TMPL_CommandStat.
 *
 * Assumptions:
 *
 *    NONE
 *
 ***************************************************************************/
TMPL_Status TMPL_SecExtendedQuery( struct TMPL_SecExtQueryData *secextquery );


/****************************************************************************
 *
 * TMPL_UnlockBlock
 *
 * Description:   
 *
 *    This procedure is called to unlock the specified block on the flash
 *    device.  See the flash device datasheet for specific details on this 
 *    command.
 *
 * Parameters:
 *
 *    IN      blocknum - the block number to unlock.
 *
 *    IN      returnSR - flag to indicate whether the device status register
 *                       value should be returned by this function.
 *
 * Returns:   
 *
 *    TMPL_Status - includes function return status defined by enum
 *                  TMPL_CommandStat and optionally the flash device
 *                  status register value.
 *
 * Assumptions:
 *
 *    The block indicated was previously locked.
 *
 ***************************************************************************/
TMPL_Status TMPL_UnlockBlock ( UINT16 blocknum,
                               UINT8 returnSR );


/****************************************************************************
 *
 * TMPL_WaitUntilReady
 *
 * Description:   
 *
 *    This procedure is called to wait until the flash device status 
 *    indicates a ready state or times out.  See the flash device datasheet
 *    for specific details on reading status data.
 *
 * Parameters:
 *
 *    IN      timeout  - timeout value specified as number of times
 *                       to read the status register before giving up.
 *
 * Returns:   
 *
 *    UINT8 - boolean flag indicating whether the ready state was
 *            reached before the timeout number of reads 
 *            occured.
 *
 * Assumptions:
 *
 *    NONE.
 *
 ***************************************************************************/
UINT8 TMPL_WaitUntilReady( UINT32 timeout );


/****************************************************************************
 *
 * TMPL_WriteF
 *
 * Description:   
 *
 *    This procedure is called to write a single data item directly to the 
 *    specified device address.  This function is used internally by the
 *    flash template api.  Clients that need to write data to the flash
 *    device should use the TMPL_ProgramFlash or TMPL_ProgramFlashBuffered
 *    command.  See the flash device datasheet for specific details on
 *    writing flash data.
 *
 * Parameters:
 *
 *    IN      address  - the flash address to be written to.
 *
 *    IN      value    - the flash data to write to the device.
 *
 * Returns:   
 *
 *    NONE
 *
 * Assumptions:
 *
 *    NONE
 *
 ***************************************************************************/
void TMPL_WriteF( UINT32 address, 
                  TMPL_FDATA value );

#endif  /* __TEMPLATE_H */

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美精品在线视频| 久久夜色精品国产噜噜av| 中文字幕欧美日本乱码一线二线| 日韩一区二区三区高清免费看看 | 97久久超碰国产精品电影| 国产精品综合久久| 国产精品主播直播| 国产精品一二三四| 成人一区二区三区| 99麻豆久久久国产精品免费| 成人av网在线| 91麻豆精东视频| 欧美视频一区二区三区在线观看| 欧美丝袜第三区| 欧美一区二区三区免费视频| 日韩欧美国产wwwww| 欧美精选在线播放| 欧美日本一区二区三区| 欧美一区二区三区小说| 精品国产伦一区二区三区观看方式| 欧美精品一区二区三区一线天视频| 久久日韩粉嫩一区二区三区| 国产精品私人自拍| 亚洲激情在线激情| 日韩精品欧美精品| 国产麻豆精品视频| 99re这里只有精品首页| 欧美日韩美女一区二区| 欧美大片国产精品| 中文字幕国产一区| 亚洲一区自拍偷拍| 久久精品国产第一区二区三区| 丰满少妇久久久久久久| 91高清视频免费看| 日韩精品专区在线| 亚洲欧美自拍偷拍色图| 午夜不卡av免费| 国产一区二区在线影院| 99综合电影在线视频| 5566中文字幕一区二区电影| 久久精品一区二区| 一区二区三区中文在线观看| 蜜乳av一区二区三区| 成人免费av在线| 欧美一区二区在线免费观看| 国产拍揄自揄精品视频麻豆| 亚洲伦理在线精品| 久久99国产乱子伦精品免费| 99精品久久久久久| 欧美一级生活片| 国产精品久久一卡二卡| 免费在线成人网| 色综合久久66| 精品国精品自拍自在线| 樱桃视频在线观看一区| 国产一区 二区 三区一级| 欧美色男人天堂| 国产日韩欧美在线一区| 日韩高清不卡一区| 91丨九色丨黑人外教| 精品国产一区二区三区久久久蜜月 | 在线不卡a资源高清| 久久免费国产精品| 亚洲va欧美va人人爽| 成人精品视频一区二区三区尤物| 欧美丰满嫩嫩电影| 亚洲精品国产成人久久av盗摄| 狠狠色综合色综合网络| 欧美日韩一级视频| 亚洲欧洲另类国产综合| 狠狠色狠狠色综合系列| 91麻豆精品91久久久久久清纯| 中文字幕一区二区不卡| 国产综合色精品一区二区三区| 欧美亚州韩日在线看免费版国语版| 国产亚洲综合色| 日本欧美久久久久免费播放网| 在线精品视频免费观看| 国产精品国产精品国产专区不蜜| 精品在线免费观看| 制服.丝袜.亚洲.另类.中文| 亚洲亚洲人成综合网络| 91丝袜美女网| 国产精品狼人久久影院观看方式| 久久99国产精品尤物| 日韩视频在线观看一区二区| 五月天婷婷综合| 欧美午夜理伦三级在线观看| 亚洲品质自拍视频| 成人天堂资源www在线| 欧美激情一区在线观看| 国产精品资源站在线| 久久久精品免费观看| 国产一区二区网址| 久久久午夜电影| 国产精品911| 国产视频一区二区在线观看| 国产成人免费视频一区| 久久精品亚洲精品国产欧美| 国内欧美视频一区二区 | 亚洲免费视频中文字幕| 成人爱爱电影网址| 亚洲欧美一区二区视频| www.视频一区| 亚洲日本丝袜连裤袜办公室| 91在线视频免费观看| 综合自拍亚洲综合图不卡区| 色婷婷一区二区三区四区| 亚洲资源中文字幕| 欧美日韩国产精品自在自线| 日本成人在线看| 久久综合999| 粉嫩aⅴ一区二区三区四区五区| 国产精品国产三级国产aⅴ中文| jizz一区二区| 一区二区三区在线视频免费观看| 欧美性淫爽ww久久久久无| 午夜av一区二区三区| 日韩欧美成人一区二区| 九一九一国产精品| 欧美国产一区在线| 色婷婷av一区二区三区大白胸| 亚洲国产一区二区a毛片| 911精品国产一区二区在线| 麻豆精品国产91久久久久久| 久久久三级国产网站| 99久久婷婷国产综合精品| 亚洲小少妇裸体bbw| 欧美一级搡bbbb搡bbbb| 国产成人久久精品77777最新版本| 亚洲欧洲国产日韩| 欧美另类久久久品| 国内精品自线一区二区三区视频| 国产精品免费久久久久| 欧洲生活片亚洲生活在线观看| 日韩av一区二区三区| 久久久国产精品麻豆| 91蝌蚪porny| 免费人成精品欧美精品| 国产免费久久精品| 亚洲乱码国产乱码精品精可以看 | 欧美极品少妇xxxxⅹ高跟鞋| 97aⅴ精品视频一二三区| 视频一区视频二区中文字幕| 久久久久成人黄色影片| 91蝌蚪porny| 国产综合久久久久久久久久久久 | 蜜桃一区二区三区在线观看| 欧美高清在线一区二区| 欧美日韩高清一区| 国产成人8x视频一区二区| 亚洲高清免费视频| 亚洲国产精品成人综合| 欧美日本韩国一区二区三区视频| 国产很黄免费观看久久| 午夜视频一区二区三区| 国产欧美视频一区二区三区| 欧美日韩aaa| av网站一区二区三区| 青青草原综合久久大伊人精品优势| 国产精品色噜噜| 欧美大片一区二区| 欧洲一区在线电影| 国产成人免费视频一区| 日韩激情av在线| 亚洲男人天堂一区| 久久久久国产精品厨房| 欧美一区二区三区视频免费播放| 99精品视频在线观看免费| 看片的网站亚洲| 亚洲成人av福利| 亚洲人妖av一区二区| 久久久五月婷婷| 日韩一级黄色大片| 欧美性受xxxx黑人xyx| av色综合久久天堂av综合| 国产一区二区主播在线| 美腿丝袜一区二区三区| 午夜久久福利影院| 亚洲伦理在线免费看| 国产精品久久久久9999吃药| 精品国产乱码久久久久久蜜臀| 欧洲在线/亚洲| 色香色香欲天天天影视综合网| 成人免费黄色在线| 国产乱国产乱300精品| 蜜臀91精品一区二区三区| 亚洲h在线观看| 亚洲午夜成aⅴ人片| 亚洲女同女同女同女同女同69| 国产女同互慰高潮91漫画| 精品人伦一区二区色婷婷| 日韩天堂在线观看| 51精品国自产在线| 欧美高清视频在线高清观看mv色露露十八| 95精品视频在线| 91浏览器在线视频| 色婷婷狠狠综合| 91福利视频网站| 欧美无砖砖区免费|