[elektro] ARM delay()
Fuzesi Arnold
arnold.fuzesi.lista at gmail.com
Mon Jul 7 12:44:32 CEST 2014
__ISB
Syntax void __ISB(void);
Description Inserts an ISBinstruction. This intrinsic function requires an
ARMv6M architecture, or
an ARMv7 architecture or higher.
Operation
ISB acts as an instruction synchronization barrier. It flushes the pipeline of
the processor, so that all instructions following the ISB are fetched from cache
or memory again, after the ISB instruction has been completed.
Condition flags
This instruction does not change the flags.
---
Velemeny?
(Tudom, puruttya megoldas ez a delay() dolog, de most haladni kell, szepseg
masodlagos. :)
A.
On 2014.07.07. 12:25, Fuzesi Arnold wrote:
> CMSIS-ben van mar ez is, vagy a fejleszto adja (melyik?)? NOP-os megoldas
> pipeline cache egyebek miatt determinisztikus futasidot ad, vagy kell trukkozni
> vmit?
>
>
> A.
>
> On 2014.07.07. 12:07, hg12345 wrote:
>> Van több is,
>> delayms() és delayus() és kell hozzá egy init is.
>> ezek vannak normál nop-s kivitelben, ill a systick alapon is.
>>
>> Fuzesi Arnold <arnold.fuzesi.lista at gmail.com> írta:
>>> Sziasztok!
>>>
>>>
>>> AVR-en volt egy praktikus __delay_cycles() beepitett fgv a fejlesztorendszerben.
>>>
>>> ARM-en van vmi hasonlo okossag? for(...;...;..)__nop(); annyira nem tetszik...
>>>
>>> Ti hogyan oldjatok meg? (Timer-t erre nincs nagyon ingerem beizzitani. )
>>>
>>> Köszi,
>>> Arnold
>>>
>>> -----------------------------------------
>>> elektro[-flame|-etc]
>>>
>>
>> -----------------------------------------
>> elektro[-flame|-etc]
>>
>
> -----------------------------------------
> elektro[-flame|-etc]
>
More information about the Elektro
mailing list