Technical information

SCI to SPI Peripheral Communication in V850ES Microcontrollers
.byte 0 --Set to option byte (Ring-OSC cannot be
stopped)
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.section "SECURITY_ID", text
.byte CG_SECURITY0 -- Security ID head
.byte CG_SECURITY1
.byte CG_SECURITY2
.byte CG_SECURITY3
.byte CG_SECURITY4
.byte CG_SECURITY5
.byte CG_SECURITY6
.byte CG_SECURITY7
.byte CG_SECURITY8
.byte CG_SECURITY9 -- Security ID tail
.text
.globl _Clock_Init
.align 4
--/*
--**-------------------------------------------------------------------------
--
--**
--** Abstract:
--** Init the Clock Generator and Watchdog timer
--**
--** Parameters:
--** None
--**
--** Returns:
--** None
--**
--**-------------------------------------------------------------------------
--
--*/
_Clock_Init:
add -8, sp
st.w r11, 0[sp]
st.w r12, 4[sp]
-- disable interrupt
stsr 5, r11
ori 0x80, r11, r11
ldsr r11, 5
clr1 0, SYS[r0] -- reset SYS register
mov r0, r11
ld.b PCC[r0], r12
andi 0xf8, r12, r12
or r12, r11
85