This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS570LC4357: Flash API and FBSE register

Part Number: TMS570LC4357

I am using the TI Flash API https://www.ti.com/lit/ug/spnu501h/spnu501h.pdf?ts=1668215949142&ref_url=https%253A%252F%252Fwww.google.com%252F for writing to flash. I would like to ensure that at the end of my writes, the Flash-bank sector enable (FBSE) register is zeroed out, and that all flash sectors are protected from writes. I see the function Fapi_enableMainBankSectors, but no corresponding disable sectors function. Is there a method in the API to disable the flash bank sectors, or is this done automatically somehow?