28.2.80 __builtin_write_OSCCONH
Description
Unlocks and writes its argument to OSCCONH.
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_OSCCONH(uint8_t value);
Argument
value
– character to be written
Return Value
None
Example Instruction Sequence
mov #0x78, w0
mov #0x9A, w1
mov __OSCCON+1, w2
mov.b w0, [w2]
mov.b w1, [w2]
mov.b value, [w2]
Error Messages
None