| поискавой системы для электроныых деталей |
|
AT90USB82 датащи(PDF) 25 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AT90USB82 датащи(HTML) 25 Page - ATMEL Corporation |
|
25 / 28 page ![]() 25 7618C–AVR–07/08 RJMP WAIT_SPMEN ;Wait for SPMEN flag cleared /*F************************************************************************ ** * NAME: flash_fill_temp_buffer *-------------------------------------------------------------------------- -- * PARAMS: * data16 : R16/R17: word to load in the temporary buffer. * address: R18/R19: address of the word. * return: none *-------------------------------------------------------------------------- -- * PURPOSE: * This function allows to load a word in the temporary flash buffer. *-------------------------------------------------------------------------- -- * EXAMPLE: * fill_temp_buffer(data16, address); *-------------------------------------------------------------------------- -- * NOTE: * the first paramater used the registers R16, R17 * The second parameter used the registers R18, R19 *************************************************************************** **/ flash_fill_temp_buffer: MOV R31,R19 ;move adress to z pointer (R31=ZH R30=ZL) MOV R30,R18 MOV R0,R17 ;move data16 to reg 0 and 1 MOV R1,R16 LDI R20,(1<<SPMEN) OUT SPMCSR, R20; r18 decides function SPM ; Store program memory RJMP WAIT_SPMEN ; Wait for SPMEN flag cleared ;*F************************************************************************ ** ; NAME: lock_wr_bits ;-------------------------------------------------------------------------- -- ; PARAMS: R16: value to write ;-------------------------------------------------------------------------- -- ; PURPOSE: ;************************************************************************** ** lock_wr_bits: |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |