44
RabbitCore RCM4000
The sample code below shows how a protected variable is defined and how its value can
be restored.
main() {
protected int state1, state2, state3;
...
_sysIsSoftReset(); // restore any protected variables
The
bbram
keyword may also be used instead if there is a need to store a variable in
battery-backed SRAM without affecting the performance of the application program. Data
integrity is
not
assured when a reset or power failure occurs during the update process.
Additional information on
bbram
and
protected
variables is available in the
Dynamic C
User’s Manual
.
Содержание RabbitCore RCM4000
Страница 1: ...RabbitCore RCM4000 C Programmable Analog Core Module with Ethernet User s Manual 019 0157 060501 A...
Страница 6: ...RabbitCore RCM4100...
Страница 12: ...6 RabbitCore RCM4000...
Страница 20: ...14 RabbitCore RCM4000...
Страница 46: ...40 RabbitCore RCM4000...
Страница 68: ...62 RabbitCore RCM4000...
Страница 82: ...76 RabbitCore RCM4000...
Страница 96: ...90 RabbitCore RCM4000...
Страница 114: ...108 RabbitCore RCM4000...
Страница 118: ...112 RabbitCore RCM4000...
Страница 122: ...116 RabbitCore RCM4000...
Страница 124: ......