Flashsetlock(); Description; Actions; Prototype - Infineon SP37 Function Manual

High integrated single-chip tpms sensor with a low power embedded microcontroller and wireless fsk/ask uhf transmitter
Table of Contents

Advertisement

2.32

FlashSetLock()

2.32.1

Description

This function sets the Lockbyte 3 which protects the User Configuration sector. This function returns -1 and has
no effect if executed in DEBUG mode.
Attention: This function shows only effect if the Lockbyte 2 that protects the Code Sector is set.
Note: The application software has to ensure that FLASH is only programmed or erased when all required
environmental conditions are fulfilled. Special care has to be taken that ambient temperature
V
voltage
and Endurance E
batFL
This function returns -1 and has no effect if executed in DEBUG mode.
2.32.2

Actions

Set the Lockbyte 3 protecting the User Configuration sector
2.32.3

Prototype

signed char FlashSetLock(void)
2.32.4

Inputs

Table 137
FlashSetLock: Input Parameters
Register / Address
None
2.32.5

Outputs

Table 138
FlashSetLock: Output values
Register/ Address
R7
ROM Library Function Guide
n
are within specified range (see [1]).
FL
Type
Name
---
---
Type
Name
signed char
Statusbyte
Tire Pressure Monitoring Sensor
Description
---
Description
0: success
-1: failed
109
SP37
ROM Library Functions
T
, supply
FL
Revision 1.0, 2011-12-15

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents