Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/M2_12VIO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,16 @@ uint16_t M2_12VIO::Reset_Current_Limit(){
return(M2_12VIO::Enable_12VIO_Monitor(ON));
}

/**
* \brief
* Disable the Current Trip Interrupt, prevents the output from being disabled due to faults or transients
* WARNING, you will only have the (relatively) slow PTC fuse to protect your outputs
* \param NIL
* \return void
*/
void M2_12VIO::Disable_Current_Trip(){
detachInterrupt(digitalPinToInterrupt(Interupt_Over_Current));
}

/*
*\brief
Expand Down
1 change: 1 addition & 0 deletions src/M2_12VIO.h
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ class M2_12VIO{

uint16_t Init_12VIO();
uint16_t Reset_Current_Limit();
void Disable_Current_Trip();
uint16_t Sleep(uint8_t Sleep_Mode);
uint32_t Load_Amps();
uint32_t Supply_Volts();
Expand Down
1 change: 1 addition & 0 deletions src/keywords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#######################################
Init_12VIO() KEYWORD2
Reset_Current_Limit() KEYWORD2
Disable_Current_Trip() KEYWORD2
Load_Amps() KEYWORD2
Supply_Volts() KEYWORD2
Read_12VIO(IO_Pin) KEYWORD2
Expand Down