4.8.1.1.2 Code

Copy-paste the following setup code to your user application:
static void configure_bod33(void)
{
    struct bod33_config config_bod33;
    bod33_get_config_defaults(&config_bod33);

    bod33_set_config(&config_bod33);

    bod33_enable();
}

static void configure_bod12(void)
{
    struct bod12_config config_bod12;
    bod12_get_config_defaults(&config_bod12);

    bod12_set_config(&config_bod12);

    bod12_enable();
}
Add to user application initialization (typically the start of main()):
configure_bod33();
configure_bod12();