28.2.81 __builtin_write_OSCCONL

Description

Unlocks and writes its argument to OSCCONL.

Interrupts may need to be disabled for proper operation.

This builtin function can be used as a part of a complex sequence discussed in your device data sheet or Family Reference Manual (FRM). See these documents for more information.

Prototype

void __builtin_write_OSCCONL(uint8_t value); 

Argument

value – character to be written

Return Value

None

Example Instruction Sequence

mov   #0x46, w0
mov   #0x57, w1
mov   __OSCCON, w2
mov.b w0, [w2]
mov.b w1, [w2]
mov.b value, [w2]

Error Messages

None