if (CPU_Sleep != 0) CPU_Sleep = CPU_Sleep-1
Or in asm
and reg[CPU_SCR0],F7h ; Set Bit Sleep in reg[CPU_SCR0]
duongimi wrote:I measure is 95mA in normal mode and 85mA in sleep mode.
graaja wrote:2. Switch off any analog buffers if enabled
3. Make all the pins HighZ Analog before putting PSoC to sleep
Users browsing this forum: Baidu [Spider], Bing [Bot] and 0 guests